SMAHA04010_예약접수[비자건진].xrw 117 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA00600.xrw
  4. * 설 명 : 비자건진예약/접수
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2007.06.13
  8. * 수정이력 : 김다영
  9. 조두현 2008.01.10 추가요구사항 등록
  10. * 기 타 :
  11. -->
  12. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  13. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  14. <xhtml:head>
  15. <xhtml:title>VISA등록</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <list>
  21. <rsrvlst>
  22. <hopedd/>
  23. <pid/>
  24. <engnm/>
  25. <pnm/>
  26. <brthareacnts/>
  27. <pkgcd/>
  28. <pkgnm/>
  29. <rgstno1/>
  30. <rgstno2/>
  31. <sexage/>
  32. <statflag/>
  33. <rsrvdd/>
  34. <rsrvno/>
  35. <rcptstat/>
  36. <visano/>
  37. <totamt/>
  38. <cmpynm/>
  39. <rsrvdttm/>
  40. <lastupdtrid/>
  41. <lastupdtdt/>
  42. <engnm2/>
  43. </rsrvlst>
  44. <reexlst>
  45. <hopedd/>
  46. <pid/>
  47. <engnm/>
  48. <pnm/>
  49. <brthareacnts/>
  50. <pkgcd/>
  51. <pkgnm/>
  52. <rgstno1/>
  53. <rgstno2/>
  54. <sexage/>
  55. <statflag/>
  56. <rsrvdd/>
  57. <rsrvno/>
  58. <rcptstat/>
  59. <visano/>
  60. <totamt/>
  61. <cmpynm/>
  62. <rsrvdttm/>
  63. <lastupdtrid/>
  64. <lastupdtdt/>
  65. </reexlst>
  66. <acptlst>
  67. <orddd/>
  68. <pid/>
  69. <visano/>
  70. <engnm/>
  71. <pnm/>
  72. <brthareacnts/>
  73. <pkgcd/>
  74. <pkgnm/>
  75. <rgstno1/>
  76. <rgstno2/>
  77. <sexage/>
  78. <rcptstat/>
  79. <rsrvdd/>
  80. <rsrvno/>
  81. <statflag/>
  82. <acptflag/>
  83. <cmpynm/>
  84. <acptdttm/>
  85. <lastupdtrid/>
  86. <lastupdtdt/>
  87. </acptlst>
  88. <cncllst>
  89. <cncldd/>
  90. <pid/>
  91. <engnm/>
  92. <brthareacnts/>
  93. <pkgcd/>
  94. <pkgnm/>
  95. <rgstno1/>
  96. <rgstno2/>
  97. <sexage/>
  98. <rsrvdd/>
  99. <rsrvno/>
  100. <statflag/>
  101. <rcptstat/>
  102. <visano/>
  103. <pnm/>
  104. <cmpynm/>
  105. <cncldttm/>
  106. <lastupdtrid/>
  107. <lastupdtdt/>
  108. </cncllst>
  109. <listinfo>
  110. <acptcnt/>
  111. <rsrvcnt/>
  112. <rcptcnt/>
  113. <cnclcnt/>
  114. <holdcnt/>
  115. <failcnt/>
  116. <outcnt/>
  117. </listinfo>
  118. </list>
  119. <info>
  120. <patinfo>
  121. <item>
  122. <pid/>
  123. <rgstno1/>
  124. <rgstno2/>
  125. <hngnm/>
  126. <engnm/>
  127. <brthareacnts/>
  128. <sex/>
  129. <age/>
  130. <brthdd/>
  131. <zipcd11/>
  132. <zipcd12/>
  133. <zipcdseq1/>
  134. <addr1/>
  135. <detladdr1/>
  136. <mpphon/>
  137. <telno/>
  138. <emailid/>
  139. <emailtype/>
  140. <healexampid/>
  141. <emailkind/>
  142. <zipcd21/>
  143. <zipcd22/>
  144. <zipcdseq2/>
  145. <addr2/>
  146. <detladdr2/>
  147. <psptno/>
  148. <pidcretfg/>
  149. <insuid/>
  150. <hopedd/>
  151. <detladdr2/>
  152. <clntgrde/>
  153. <patremcnts/>
  154. <notice/>
  155. <engnm2/>
  156. </item>
  157. </patinfo>
  158. <rsrvacptinfo>
  159. <item>
  160. <cmpyflag>N</cmpyflag>
  161. <orddd/>
  162. <rsrvdd/>
  163. <hopedd/>
  164. <rsrvtm/>
  165. <rsrvflag>01</rsrvflag>
  166. <rsltcnstflag>02</rsltcnstflag>
  167. <rsltcnstrsrvdd/>
  168. <rsrvguidsendyn/>
  169. <rsrvguidsenddd/>
  170. <insucorpbrchcd/>
  171. <insucorpbrchnm/>
  172. <insuid/>
  173. <disccd/>
  174. <discremark/>
  175. <emprelacd/>
  176. <empid/>
  177. <empnm/>
  178. <recmempid/>
  179. <recmempnm/>
  180. <famypid/>
  181. <famypnm/>
  182. <famyrelacd/>
  183. <deptcd/>
  184. <deptnm/>
  185. <clntgrde/>
  186. <clntempid/>
  187. <jobposcd/>
  188. <remcnts/>
  189. <pkgcd/>
  190. <pkgnm/>
  191. <latestpkginfo/>
  192. <choiflag>01</choiflag>
  193. <cmpycd/>
  194. <conseq/>
  195. <mode/>
  196. <status/>
  197. <healexamflag/>
  198. <healexamdetlflag/>
  199. <entcodd/>
  200. <rsltcnststatflag/>
  201. <dietcnstyn/>
  202. <orgexamdt/>
  203. <bizoffccd/>
  204. <jobkindflag/>
  205. <pkguncocd/>
  206. <rsltcnstrsrvtm/>
  207. <cmpynm/>
  208. <visaflag/>
  209. <famylst/>
  210. <visano/>
  211. <rsltcnstdrid/>
  212. <brthareacnts/>
  213. <acpt_insuid/>
  214. <acpt_insukind/>
  215. <discremcnts/>
  216. <conhistseq/>
  217. <statflag/>
  218. <rsltcnststatflag/>
  219. <rsltcnstrsrvdd/>
  220. <orddeptcd/>
  221. <orddrid/>
  222. <ordtm/>
  223. <cretno/>
  224. <acptseqno/>
  225. <acpt_insucd/>
  226. <pkgamt/>
  227. <rsrvno/>
  228. <rsltcnstdrid/>
  229. <healexamplacecd/>
  230. </item>
  231. <addlst>
  232. <sel/>
  233. <testflag/>
  234. <testcd/>
  235. <testnm/>
  236. <uncocd/>
  237. <scoreamt/>
  238. <prcptims/>
  239. <discamt/>
  240. <examseq/>
  241. <calcscorcd/>
  242. <prcpno/>
  243. <prcpdd/>
  244. <m/>
  245. <grupflag/>
  246. <addtotamt/>
  247. </addlst>
  248. <pkglst>
  249. <sel/>
  250. <pkgflag/>
  251. <pkgcd/>
  252. </pkglst>
  253. </rsrvacptinfo>
  254. <histlst>
  255. <item>
  256. <orddd/>
  257. <pkgcd/>
  258. <pkgnm/>
  259. <rsrvdd/>
  260. <rsrvno/>
  261. <lastupdtrid/>
  262. <lastupdtdt/>
  263. <cmpyflag/>
  264. <visano/>
  265. <remcnts/>
  266. </item>
  267. </histlst>
  268. <curlst>
  269. <item>
  270. <hopedd/>
  271. <rsrvtm/>
  272. <orddd/>
  273. <testcd/>
  274. <testnm/>
  275. <testroomcd/>
  276. <statflag/>
  277. <lastupdtrid/>
  278. <lastupdtdt/>
  279. </item>
  280. </curlst>
  281. <rcptinfo>
  282. <pkgamt/>
  283. <cmpyaddamt/>
  284. <subtotamt/>
  285. <preamt/>
  286. <discamt/>
  287. <uncoamt/>
  288. <realamt/>
  289. <ownbamt/>
  290. <preamt2/>
  291. <totprercptamt/>
  292. <psnaddamt/>
  293. </rcptinfo>
  294. <visalst>
  295. <item>
  296. <visano/>
  297. </item>
  298. </visalst>
  299. <pkgdetl>
  300. <item>
  301. <cdnm/>
  302. <pkgcd/>
  303. <spcnm/>
  304. <testnm/>
  305. <stndval/>
  306. <padd/>
  307. </item>
  308. </pkgdetl>
  309. <taginfo>
  310. <rtime/>
  311. <tagno/>
  312. <suppstat/>
  313. </taginfo>
  314. </info>
  315. <sum/>
  316. <seqprntdata/>
  317. <visaphot>
  318. <attachfile>
  319. <image/>
  320. </attachfile>
  321. </visaphot>
  322. </main>
  323. <send>
  324. <srchhealexamdetlflag/>
  325. <srchfromdd/>
  326. <srchtodd/>
  327. <srchpid/>
  328. <srchpnm/>
  329. <srchinstcd/>
  330. <srchhealexamflag/>
  331. <clscd/>
  332. <etccd/>
  333. <save/>
  334. <srchpnm2/>
  335. <srchpid2/>
  336. <srchrsrvdd/>
  337. <srchrsrvno/>
  338. <srchinstcd/>
  339. <srchjobflag/>
  340. <savercpt>
  341. <opmi_out/>
  342. </savercpt>
  343. <srchlst>
  344. <srchfamypid/>
  345. <srchfamyinstcd/>
  346. <srchfamyhealexamflag/>
  347. </srchlst>
  348. <visanosrch>
  349. <genrdd/>
  350. <genrkind/>
  351. <instcd/>
  352. </visanosrch>
  353. <srchvisano/>
  354. <srcocmlflag/>
  355. <srchmode>4</srchmode>
  356. <srchhealexampid/>
  357. <srchrgstno1/>
  358. <srchrgstno2/>
  359. <srchcond/>
  360. <srchpkgcd/>
  361. <srchcmpycd/>
  362. <srchconseq/>
  363. <srchsex/>
  364. <savercpt>
  365. <opmi_out/>
  366. </savercpt>
  367. <savercpt>
  368. <opmi_out/>
  369. </savercpt>
  370. <rrgstno/>
  371. <taginfo/>
  372. <srchtagno/>
  373. <savetemprsrv/>
  374. <attach>
  375. <file/>
  376. </attach>
  377. <visaphotpath/>
  378. </send>
  379. <init>
  380. <baseinfo>
  381. <pamcdlst>
  382. </pamcdlst>
  383. <hedetlflaglst/>
  384. <detlcodelst/>
  385. <testflag/>
  386. <natiinlst/>
  387. <relacdlst/>
  388. <heflaglst/>
  389. <rsltlst/>
  390. <uncocdlst>
  391. </uncocdlst>
  392. <clntgrdlst/>
  393. <rsrvflaglst/>
  394. <rsltcnstflaglst/>
  395. <choiflaglst/>
  396. <emaillst/>
  397. <statlst/>
  398. <cmpydetlcdlst>
  399. <deptlst/>
  400. </cmpydetlcdlst>
  401. <healexamplacelst/>
  402. </baseinfo>
  403. <srchmode>4</srchmode>
  404. <place>
  405. <healexamplacecd/>
  406. </place>
  407. </init>
  408. <hidden>
  409. <tlst/>
  410. <item/>
  411. </hidden>
  412. <temp>
  413. <templst/>
  414. <rcptinfo>
  415. <hidden/>
  416. </rcptinfo>
  417. <rcptno_out/>
  418. <emailtype/>
  419. <pkgtestcdlst/>
  420. <rsrvacptkey/>
  421. <colgpkgchoiyn>
  422. <item>
  423. <existyn/>
  424. </item>
  425. </colgpkgchoiyn>
  426. <temp>
  427. <psnworkinfo/>
  428. </temp>
  429. <rcptCheck/>
  430. <discamt/>
  431. <rsrvstate/>
  432. <sytsrsrvchk/>
  433. <priceamt/>
  434. </temp>
  435. <tmp>
  436. <testcount/>
  437. </tmp>
  438. <source>
  439. <selflag/>
  440. <srchcond/>
  441. <srchpkgflag/>
  442. <srchcdnm/>
  443. <srchhealexamflag/>
  444. <srchhealexamdetlflag/>
  445. <srchinstcd/>
  446. <multiyn/>
  447. <openerid/>
  448. <sex/>
  449. <setflag/>
  450. </source>
  451. <tag/>
  452. <image>
  453. <attachfile>
  454. <image/>
  455. </attachfile>
  456. </image>
  457. </root>
  458. </instance>
  459. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  460. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  461. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  462. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  463. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  464. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  465. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
  466. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA010.js"/>
  467. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  468. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  469. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  470. <script type="javascript" ev:event="xforms-ready">
  471. <![CDATA[
  472. fGetBaseInfo();
  473. fInitInfo();
  474. fInitDate(true);
  475. fInitList();
  476. model.toggle("case_acpt");
  477. fSetBtnStat();
  478. fGetList();
  479. //btn_acpt.disabled = true;
  480. model.refresh();
  481. ]]>
  482. </script>
  483. <submission id="TRAHA00001"/>
  484. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  485. <submission id="TRAHA00013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
  486. <submission id="TRAHA04011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  487. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  488. <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
  489. <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
  490. <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
  491. <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
  492. <submission id="TRAHA00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/info/pkgdetl"/>
  493. <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
  494. <submission id="TRAHA04013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  495. <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp/priceamt"/>
  496. <submission id="TRAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchlst" replace="instance" resultref="/root/main/info/rsrvacptinfo/familylst"/>
  497. <submission id="TRAHA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
  498. <submission id="TRAHA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
  499. <submission id="TRAHA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/patinfo"/>
  500. <submission id="TRAHA00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/visalst/item"/>
  501. <submission id="TRAHA04017" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/imgbinary"/>
  502. <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
  503. <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/detlcodelst"/>
  504. <submission id="TRAHA00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send1" replace="instance" resultref="/root/price"/>
  505. <submission id="TXAHA04027" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  506. <submission id="TXAHA04028" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" replace="instance" resultref="/root/tmp"/>
  507. <submission id="TXAHA04029" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/sendcmts" replace="instance" resultref="/root/tmp"/>
  508. <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  509. <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  510. <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
  511. <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" replace="instance" resultref="/root/hidden"/>
  512. <submission id="TXAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/temprsrv"/>
  513. <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/info/rcptinfo"/>
  514. <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  515. <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  516. <submission id="TRAHA00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/seqprntdata"/>
  517. <bind id="bind_addtestcd" ref="/root/main/info/acptinfo/addlst/testcd" readonly="../testcdkey!=''"/>
  518. <bind id="bind1" ref="/root/main/list/rsrvlst/statflag"/>
  519. <submission id="TRAHA04012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
  520. </model>
  521. <script type="javascript">
  522. <![CDATA[
  523. function fGetBaseInfo(){
  524. // 건진상세구분
  525. var healexamfg = fGetHealExamFlag();
  526. /*
  527. if( healexamfg == "C") {
  528. zbcfGetCodeList( new Array( "A0069" ),
  529. new Array("/root/init/baseinfo/hedetlflaglst" ) );
  530. }
  531. else {
  532. zbcfGetCodeList( new Array( "A0070" ),
  533. new Array("/root/init/baseinfo/hedetlflaglst" ) );
  534. }
  535. */
  536. zbcfGetCodeList( new Array( "A0070" , "A0117","A0465","P0049","A0107"),
  537. new Array("/root/init/baseinfo/hedetlflaglst"
  538. ,"/root/init/baseinfo/testflag"
  539. ,"/root/init/baseinfo/natiinlst"
  540. ,"/root/init/baseinfo/rsltlst"
  541. , "/root/init/baseinfo/statlst"
  542. ) );
  543. submit("TRZBC00101");
  544. model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") );
  545. submit("TRAHA00104");
  546. healGetCodeList( new Array("S600")
  547. , new Array("/root/init/baseinfo/healexamplacelst") );
  548. model.removenode("/root/init/baseinfo/healexamplacelst/S600[1]");
  549. //model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") );
  550. model.setValue("/root/send/clscd", "G" ); //공통코드
  551. model.setValue("/root/send/etccd", "G06"); //비자건진분류코드 Setting
  552. if( submit("TRAHB00602") == true ){
  553. var nodelst = instance1.selectNodes("/root/init/baseinfo/detlcodelst/item");
  554. if( nodelst.length == 1) {
  555. cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item/etcitemcnts");
  556. }
  557. else if( nodelst.length > 1){
  558. for( var i = 0 ; i < nodelst.length ; i++) {
  559. if( "Y" == model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/useyn") ) {
  560. cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/etcitemcnts");
  561. break;
  562. }
  563. }
  564. }
  565. cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
  566. }
  567. cmb_healexamdetlflag.refresh();
  568. //cmb_srchhealexamdetlflag.refresh();
  569. //model.setValue("/root/main/info/patinfo/item/brthareacnts","/root/init/baseinfo/natiinlst")
  570. cmb_brthareacnts.refresh();
  571. }
  572. /**
  573. * 리스트내역 초기화
  574. */
  575. function fInitList( ){
  576. model.removeNodeset("/root/main/list/rsrvlst");
  577. model.removeNodeset("/root/main/list/acptlst");
  578. model.removeNodeset("/root/main/list/cncllst");
  579. model.resetInstanceNode("/root/main/list/listinfo");
  580. model.removeNodeset(grd_addlst.nodeset);
  581. }
  582. /*********************************************************
  583. **************가족조회하는 함수***************************
  584. *********************************************************/
  585. function fSrchFamily(){
  586. //등록번호가 들어가야 한다는 에러문
  587. if(ipt_famypid.currentText==""){
  588. messageBox("가족의 등록번호를 입력하셔야 합니다.","C001");
  589. return;
  590. }
  591. //이름이 들어가야 한다는 에러문
  592. if (opt_famypnm.currentText==""){
  593. messageBox("가족의 이름이 등록돼지 않았슴","C001");
  594. return;
  595. }
  596. //가족관계를 입력해야 한다는 에러문
  597. if(cmb_famyrelacd.label=="" && cmb_famyrelacd.value==""){
  598. messageBox("가족관계를 입력하셔야 해요","C001");
  599. return;
  600. }
  601. //바로 행 삽입
  602. grd_family.addRow();
  603. var vgrd_family_row=grd_family.row;
  604. grd_family.valueMatrix(vgrd_family_row,1)="N";
  605. grd_family.valueMatrix(vgrd_family_row,2)=ipt_pid.currentText;
  606. grd_family.valueMatrix(vgrd_family_row,3)=ipt_famypid.currentText;
  607. grd_family.valueMatrix(vgrd_family_row,4)=opt_famypnm.currentText;
  608. grd_family.valueMatrix(vgrd_family_row,5)=cmb_famyrelacd.value;
  609. grd_family.valueMatrix(vgrd_family_row,6)=cmb_famyrelacd.label;
  610. model.refresh();
  611. //ipt_famypid
  612. //opt_famypnm
  613. //cmb_famyrelacd
  614. }
  615. /******************************************************
  616. ************가족코드 삭제******************************
  617. *****************************************************/
  618. function fDelFamily(){
  619. var vgrd_familyRowDel=grd_family.row;
  620. //선택할 행이 없으면
  621. if(vgrd_familyRowDel<0)
  622. return;
  623. //비자건진이 아니면
  624. if(cmb_srchhealexamdetlflag.value!="G02")
  625. return;
  626. //기관코드가 없으면
  627. if(getUserInfo("posinstcd")=="")
  628. return;
  629. if(grd_family.valueMatrix(vgrd_familyRowDel,2)=="" ||
  630. grd_family.valueMatrix(vgrd_familyRowDel,3)=="" ||
  631. grd_family.valueMatrix(vgrd_familyRowDel,4)=="" ||
  632. grd_family.valueMatrix(vgrd_familyRowDel,5)=="" ||
  633. grd_family.valueMatrix(vgrd_familyRowDel,6)=="" ){
  634. messageBox("내용이 없어요","C001");
  635. return;
  636. }
  637. model.setValue("/root/send/familylst/healexamflag",fGetHealExamFlag());
  638. model.setValue("/root/send/familylst/pid",grd_family.valueMatrix(vgrd_familyRowDel,2));
  639. model.setValue("/root/send/familylst/famypid",grd_family.valueMatrix(vgrd_familyRowDel,3));
  640. model.setValue("/root/send/familylst/famyrelcd",grd_family.valueMatrix(vgrd_familyRowDel,5));
  641. model.setValue("/root/send/familylst/instcd",getUserInfo("posinstcd"));
  642. submit("TRAHA00603");
  643. }
  644. /********************************************************
  645. ********비자건진 가족관계 저장***************************
  646. ********************************************************/
  647. function fSaveFamy(){
  648. var vHealexamflag=fGetHealExamFlag();
  649. var vgrd_familyRow=grd_family.row;
  650. //건진구분이 읍을시
  651. if (vHealexamflag=="")
  652. return;
  653. //기관코드가 읍을시
  654. if(getUserInfo("posinstcd")=="")
  655. return;
  656. if(grd_family.valueMatrix(vgrd_familyRow,2)=="" ||
  657. grd_family.valueMatrix(vgrd_familyRow,3)=="" ||
  658. grd_family.valueMatrix(vgrd_familyRow,4)=="" ||
  659. grd_family.valueMatrix(vgrd_familyRow,5)=="" ||
  660. grd_family.valueMatrix(vgrd_familyRow,6)=="" ){
  661. messageBox("입력이 빠졌어요","C001");
  662. return;
  663. }
  664. model.setValue("/root/send/familylst/healexamflag",vHealexamflag);
  665. model.setValue("/root/send/familylst/pid",grd_family.valueMatrix(vgrd_familyRow,2));
  666. model.setValue("/root/send/familylst/famypid",grd_family.valueMatrix(vgrd_familyRow,3));
  667. model.setValue("/root/send/familylst/famynm",grd_family.valueMatrix(vgrd_familyRow,4));
  668. model.setValue("/root/send/familylst/famyrelcd",grd_family.valueMatrix(vgrd_familyRow,5));
  669. model.setValue("/root/send/familylst/instcd",getUserInfo("posinstcd"));
  670. model.setValue("/root/send/familylst/famyrelnm",grd_family.valueMatrix(vgrd_familyRow,6));
  671. //submit("TRAHA00602");
  672. }
  673. /*********************************************************
  674. ***************건진자 가족관계 조회***********************
  675. *********************************************************/
  676. function fSrchFamy(){
  677. //더블클릭한 건진자가 없을 시에
  678. if (ipt_pid.currentText=="")
  679. return;
  680. var vHealexamflag=fGetHealExamFlag();
  681. //건진구분이 없을 시에
  682. if (vHealexamflag=="")
  683. return;
  684. //기관코드가 없을 시에
  685. if (getUserInfo("posinstcd")=="")
  686. return;
  687. model.setValue("/root/send/srchlst/srchfamyhealexamflag",vHealexamflag)
  688. model.setValue("/root/send/srchlst/srchfamypid",ipt_pid.currentText);
  689. model.setValue("/root/send/srchlst/srchfamyinstcd",getUserInfo("posinstcd"));
  690. //submit("TRAHA00601");
  691. }
  692. /**
  693. * 입력정보 초기화
  694. */
  695. function fInitInfo(){
  696. model.resetInstanceNode("/root/main/info/patinfo/item");
  697. model.resetInstanceNode("/root/main/info/visalst/item");
  698. model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
  699. model.resetInstanceNode("/root/image/attachfile/image");
  700. model.resetInstanceNode("/root/send/attach/file");
  701. fInitRsrvAcptInfo();
  702. }
  703. /**
  704. * 접수 정보 초기화
  705. */
  706. function fInitRsrvAcptInfo(){
  707. //model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
  708. model.resetInstanceNode("/root/main/info/rcptinfo");
  709. model.resetInstanceNode("/root/main/info/rsrvacptinfo/addlst");
  710. model.removeNodeset(grd_addlst.nodeset);
  711. //model.removeNodeset("/root/main/info/rsrvacptinfo/item/visano");
  712. //model.removeNodeset("/root/main/info/visalst/item");
  713. //model.removeNodeset("/root/main/info/histlst/item");
  714. fInitDate(false);
  715. model.setValue( cmb_healexamdetlflag.attribute("ref") , cmb_srchhealexamdetlflag.value );
  716. model.setValue( rdo_visaflag.attribute("ref") , "M");
  717. model.setValue(cmb_pkguncocd.attribute("ref"), "V01" );
  718. model.setFocus("ipt_rgstno1");
  719. rdo_healexamplacecd.refresh();
  720. if(rdo_healexamplacecd.value != "" ) {
  721. rdo_healexamplacecd.dispatch("xforms-select"); // 건진장소 default 셋팅
  722. }else {
  723. var sFlag=fGetHealExamPlaceFlag();
  724. if (sFlag == "G" ) {
  725. rdo_healexamplacecd.select(0);
  726. } else {
  727. rdo_healexamplacecd.select(1);
  728. }
  729. }
  730. }
  731. /**
  732. * 일자내역 초기화
  733. *bSrchDt : 조회일자초기화여부
  734. */
  735. function fInitDate(bSrchDt){
  736. var cur_date = getCurrentDate();
  737. if(model.getValue(ipt_orddd.attribute("ref")) == "")
  738. {
  739. model.setValue( ipt_orddd.attribute("ref") , cur_date);
  740. }
  741. model.setValue( ipt_rsrvdd.attribute("ref") , cur_date);
  742. out_engnm.value = ipt_engnm.value;
  743. if( bSrchDt ) {
  744. model.setValue( ipt_srchtodd.attribute("ref") , cur_date);
  745. model.setValue( ipt_srchfromdd.attribute("ref") , cur_date);
  746. }
  747. }
  748. /**
  749. * 버튼상태 setting
  750. */
  751. function fSetBtnStat(){
  752. btn_rcpt.disabled = false;
  753. btn_rsrvcfm1.disabled = true;
  754. btn_rsrvcfm2.disabled = true;
  755. btn_acpt.disabled = true;
  756. btn_acptcncl.disabled = true;
  757. btn_rsrvcncl.disabled = true;
  758. var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  759. //if(isXPathTextNull("/root/main/info/rsrvacptinfo/item/statflag") ) return ;
  760. //alert( vStat );
  761. if ( vStat == "C" ){
  762. btn_rsrvcfm1.disabled = false;
  763. btn_rsrvcfm2.disabled = false;
  764. btn_rsrvcncl.disabled = false;
  765. btn_acpt.disabled = false;
  766. }
  767. else
  768. if( vStat == "D"){
  769. btn_rsrvcfm1.disabled = false;
  770. btn_rsrvcfm2.disabled = false;
  771. btn_acpt.disabled = false;
  772. }
  773. else
  774. if( vStat == "E" ){
  775. btn_acptcncl.disabled = false;
  776. btn_acpt.disabled = true;
  777. }
  778. else
  779. if( vStat == "F" ){
  780. btn_rsrvcfm1.disabled = false;
  781. btn_rsrvcfm2.disabled = false;
  782. btn_acptcncl.disabled = true;
  783. btn_acpt.disabled = true;
  784. }
  785. else
  786. if( vStat == "G" ){
  787. btn_acptcncl.disabled = true;
  788. btn_acpt.disabled = true;
  789. }
  790. else {
  791. btn_rsrvcfm1.disabled = false;
  792. btn_rsrvcfm2.disabled = false;
  793. btn_acpt.disabled = false;
  794. }
  795. model.refresh();
  796. }
  797. /***************************************************************
  798. ********************비자연번호따오는 함수***********************
  799. ***************************************************************/
  800. function fGetVisano(){
  801. var vCutVisa,vCopyVisa,vGetDD,vRetNo;
  802. vGetDD=getCurrentDate();
  803. //년도만 짤라냄
  804. vGetDD=vGetDD.substring(0,4);
  805. //20070000이런 식으로 나옴
  806. vGetDD=vGetDD.getRightPad(8,"0");
  807. model.setValue("/root/send/visanosrch/genrdd",vGetDD);
  808. model.setValue("/root/send/visanosrch/genrkind","V");
  809. model.setValue("/root/send/visanosrch/instcd",getUserInfo("posinstcd"));
  810. submit("TRAHA00610");
  811. vRetNo=model.getValue("/root/main/info/visalst/item/visano");
  812. //model.removeNodeset("/root/main/info/rsrvacptinfo/item/visano");
  813. //model.resetInstanceNode("/root/main/info/rsrvacptinfo/item/visano");
  814. //fCheckNodeExist("/root/main/info/rsrvacptinfo/item/visano",true);
  815. model.setValue("/root/main/info/rsrvacptinfo/item/visano",vRetNo);
  816. model.refresh();
  817. }
  818. /**
  819. * 예약/예약등록/접수/취소/보류 리스트 조회
  820. * 예약등록의 경우 예약등록일자 기준.
  821. * 예약등록일 = 가예약 + 예약
  822. * 예약 = 예약
  823. */
  824. function fGetList(){
  825. fInitList();
  826. if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
  827. isXPathTextNull( "/root/send/srchtodd") ||
  828. isXPathTextNull( "/root/send/srchfromdd")) return ;
  829. model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
  830. var vMode = fGetSrchMode();
  831. model.setValue("/root/send/srchmode", vMode );
  832. model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") );
  833. model.setValue("/root/send/srchvisano",ipt_srch_visano.currentText)
  834. openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
  835. submit("TRAHA04013");
  836. closeLoadingBar() ;//처리중 화면을 close한다.
  837. }
  838. /** =====================================================================================================================================================================
  839. * SPAHA00100_PARAM1 : 예약조회구분 [건진전체(T), 검사실(R), 상담의별 결과상담(C)]
  840. * SPAHA00100_PARAM2 : 예약일자
  841. * SPAHA00100_PARAM3 : 성별구분(종건예약일정)
  842. * SPAHA00100_PARAM4 : 예약일자가 setting될 부모 node
  843. * SPAHA00100_PARAM5 : 예약시간 setting될 부모 node
  844. * SPAHA00100_PARAM6 : 건진구분
  845. * ================================================================================================================================================*/
  846. function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
  847. setParameter ("SPAHA00100_PARAM1", vMode);
  848. setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
  849. setParameter ("SPAHA00100_PARAM3", opt_sex.value );
  850. if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
  851. if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
  852. setParameter ("SPAHA00100_PARAM6", fGetHealExamFlag() );
  853. setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
  854. setParameter ("SPAHA00100_PARAM8", cmb_healexamdetlflag.value);
  855. modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
  856. }
  857. /**
  858. *1:예약, 2:예약등록, 3:접수, 4: 취소및보류, 5: 예약취소, 6: 접수취소, 7:보류
  859. */
  860. function fGetSrchMode(){
  861. var idx = swt_acptlst.selectedIndex ;
  862. if( idx == 0) {
  863. idx = 3;
  864. }
  865. else if( idx == 1 ){
  866. idx = 1;
  867. }
  868. else if(idx == 2){
  869. return rdo_cnclmode.value ;
  870. }
  871. else if(idx == 3){
  872. idx = 8;
  873. }
  874. return idx;
  875. }
  876. /**
  877. * 예약/접수정보 check.
  878. */
  879. function fCheckAcpt(vMode){
  880. var vRsvdd = "";
  881. var vStatus = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  882. //예약/예약확인/예약보류
  883. //if( !isRequiredGroup("rdo_visaflag", "ipt_pkgcd") ) return false;
  884. if( model.getValue(rdo_visaflag.attribute("ref") ) == "" ) {
  885. messageBox("비자구분을 ", "C001");
  886. model.setFocus("rdo_visaflag");
  887. return false;
  888. }
  889. if( model.getValue(rdo_visaflag.attribute("ref") ) == "" ) {
  890. messageBox("패키지를 ", "C001");
  891. model.setFocus("ipt_pkgcd");
  892. return false;
  893. }
  894. if( model.getValue(cmb_pkguncocd.attribute("ref")) == "" ){
  895. messageBox("청구구분을 ", "C001");
  896. model.setFocus("cmb_pkguncocd");
  897. return false;
  898. }
  899. if( (vMode == "C") ){
  900. if( !isRequiredGroup("ipt_rsrvdd") ) return false;
  901. vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
  902. vRsvdd = vRsvdd.toDate("YYYYMMDD");
  903. if( vRsvdd < getCurrentDate() ){
  904. messageBox("예약일자가 현재일자 전으로 ", "E005");
  905. model.setFocus("ipt_rsrvdd");
  906. return false;
  907. }
  908. }
  909. //접수시
  910. else
  911. if( vMode == "E" ){
  912. if(model.getValue(ipt_orddd.attribute("ref")) == "")
  913. {
  914. model.setValue("/root/main/info/rsrvacptinfo/item/orddd", getCurrentDate());
  915. }
  916. }
  917. //예약및접수취소시(D,F)
  918. else
  919. if( vMode == "D" ){
  920. if( vStatus != "C" ){
  921. messageBox("예약상태가 아닌 항목은 예약취소 ", "E001");
  922. return false;
  923. }
  924. }
  925. else
  926. if( vMode == "F" ){
  927. if( vStatus != "E"){
  928. messageBox("접수상태가 아닌 항목은 접수취소 ", "E001");
  929. return false;
  930. }
  931. }
  932. return true;
  933. }
  934. /**
  935. * 건진내역 계산
  936. 건진구분 :srchhealexamflag
  937. 예약일자 :srchrsrvdd
  938. 예약번호 :srchrsrvno
  939. 등록번호 :srchpid
  940. 기관코드 :srchinstcd
  941. */ function fCalcAmt(vJobFlag){
  942. var ret = -1;
  943. var vTmp = fGetHealExamFlag();
  944. if( vTmp == "" ) return ret;
  945. model.setValue("/root/send/srchhealexamflag", vTmp );
  946. vTmp = model.getValue(ipt_pid.attribute("ref"));
  947. if( vTmp == "" ) return ret;
  948. model.setValue("/root/send/srchpid", vTmp );
  949. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  950. if( vTmp== "" ) return ret;
  951. model.setValue("/root/send/srchrsrvdd", vTmp );
  952. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  953. if( vTmp == "" ) return ret;
  954. model.setValue("/root/send/srchrsrvno", vTmp );
  955. model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd"));
  956. model.setValue("/root/send/srchjobflag" ,vJobFlag);
  957. var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
  958. model.resetInstanceNode(sNd);
  959. sNd = sNd + "/";
  960. openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
  961. if( submit("TXAHA02101") == true ){
  962. //model.setValue(opt_pkgamt.attribute("ref") , model.getValue( sNd + "opmi_baseexamamt"));
  963. //model.setValue(opt_addamt.attribute("ref") , model.getValue( sNd + "opmi_addexamamt"));
  964. //model.setValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
  965. model.refresh();
  966. ret = 1;
  967. }
  968. closeLoadingBar() ;//처리중 화면을 close한다.
  969. return ret;
  970. }
  971. /**
  972. **건진자번호로 예약/접수 상세정보
  973. */
  974. function fGetDetlInfoHid(){
  975. var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
  976. if( sHealExamPid != "" ){
  977. var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
  978. ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
  979. }
  980. }
  981. /**
  982. ** 국가와 나이에 따라 메세지 처리
  983. * vMode: True 일때 패키지 체크 False일때 체크 않함
  984. */
  985. function fMessageChk(vMode) {
  986. var vBrthArea = model.getValue("/root/main/info/rsrvacptinfo/item/brthareacnts");
  987. var vAge = model.getValue("/root/main/info/patinfo/item/age");
  988. var vSex = model.getValue("/root/main/info/patinfo/item/sex");
  989. var vRrgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1");
  990. var vRrgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2");
  991. var vPkg = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  992. vAge = vAge != "" ? vAge : getFullAge(rpad(vRrgstno1,6,'0') + rpad(vRrgstno2,7,'0'));
  993. vSex = vSex != "" ? vSex : getGender(rpad(vRrgstno1,6,'0') + rpad(vRrgstno2,7,'0'));
  994. if(vMode) {
  995. }else {
  996. //나이 70세 이상이면서 호주일시 활성창
  997. if( (vPkg == "VPCDAVM" && vAge >=70) || (vPkg == "VPCDAVA" && vAge >=70)){
  998. messageBox("심전도 검사를 받아야 하는 건진자","E008");
  999. }
  1000. //나이 2세 미만이면서 호주일 경우 선택 하시오
  1001. if((vPkg == "VPCDASC" && vAge < 2) || (vPkg == "VPCDAEC" && vAge < 2)){
  1002. messageBox("머리둘레측정을 받아야 하는 건진자","E008");
  1003. }
  1004. //나이 3세 미만이면서 뉴질랜드일 경우 활성창 뜨기
  1005. if(vPkg == "VPCDNEB" && vAge < 3){
  1006. messageBox("머리둘레측정을 받아야 하는 건진자","E008");
  1007. }
  1008. //20세 이상 뉴질랜드 선택시
  1009. //if(vAge >=20 && vBrthArea == "NZ"){
  1010. if((vPkg == "VPCDNEAB" && vAge >=20) || (vPkg == "VPCDNEAA" && vAge >=20)){
  1011. messageBox("허리둘레측정을 받아야 하는 건진자","E008");
  1012. }
  1013. //45세 이상 여자 뉴질랜드 선택시
  1014. if((vPkg == "VPCDNEAB" && vAge >=45 && vSex == "F") || (vPkg == "VPCDNEAA" && vAge >=45 && vSex == "F")){
  1015. messageBox("유방촬영검사를 받아야 하는 건진자","E008");
  1016. }
  1017. }
  1018. }
  1019. /*********************************************************
  1020. * 원하는 길이만큼 오른쪽으로 문자채움
  1021. *******************************************************/
  1022. function rpad(newValue, len, ch){
  1023. // 오른쪽에 ch문자로 채우기
  1024. var strlen = newValue.getTrim().length;
  1025. var ret = "" ;
  1026. var alen = len - strlen;
  1027. var astr = "";
  1028. //부족한 숫자만큼 len 크기로 ch 문자로 채우기
  1029. for (i=0; i<alen; ++i)
  1030. {
  1031. astr = astr + ch;
  1032. }
  1033. ret = newValue.getTrim() + astr; //뒤에서 채우기
  1034. return ret;
  1035. }
  1036. /****************************************************
  1037. * 가예약자 일괄 취소
  1038. *****************************************************/
  1039. function fDelAllTempRsrv() {
  1040. for(var i=0; i < grd_rsrvlst.rows; i++) {
  1041. var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
  1042. if(statFlag == "A") {
  1043. grd_rsrvlst.addStatus( i , "delete");
  1044. }
  1045. }
  1046. model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
  1047. var ret = messageBox("가예약일괄 취소를","Q004")
  1048. if(ret == 6) {
  1049. if(submit("TXAHA00114")) {
  1050. fGetList();
  1051. grd_rsrvlst.clearStatus();
  1052. }
  1053. }else if(ret == 7) {
  1054. grd_rsrvlst.clearStatus();
  1055. }
  1056. }
  1057. function fDelTempRsrv() {
  1058. for(var i=0; i < grd_rsrvlst.rows; i++) {
  1059. var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
  1060. var rowRsrvNo = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("rsrvno") );
  1061. if(statFlag == "A" && rowRsrvNo == model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")) {
  1062. grd_rsrvlst.addStatus( i , "delete");
  1063. }
  1064. }
  1065. model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
  1066. var ret = messageBox("가예약 취소를","Q004")
  1067. if(ret == 6) {
  1068. if(submit("TXAHA00114")) {
  1069. fGetList();
  1070. grd_rsrvlst.clearStatus();
  1071. }
  1072. }else if(ret == 7) {
  1073. grd_rsrvlst.clearStatus();
  1074. }
  1075. }
  1076. function fPrntSeq(){
  1077. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
  1078. model.setValue("/root/send/srchrsrvdd" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd") ); //건진예약등록일자
  1079. model.setValue("/root/send/srchrsrvno" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") ); //건진예약등록번호
  1080. model.setValue("/root/send/srchcmpycd" , model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd" )); //사업체코드
  1081. model.setValue("/root/send/srchconseq" , model.getValue("/root/main/info/rsrvacptinfo/item/conseq" )); //일련번호
  1082. model.setValue("/root/send/srchconseq" , model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq") ); //일련번호
  1083. model.makeValue("/root/send/srchchoiflag" , model.getValue("/root/main/info/rsrvacptinfo/item/choiflag") ); //선택검사
  1084. if( submit("TRAHA00402") == false ) return ;
  1085. model.makeNode("/root/main/seqprntdata/pid");
  1086. model.makeNode("/root/main/seqprntdata/hngnm");
  1087. model.makeNode("/root/main/seqprntdata/sexage");
  1088. model.makeNode("/root/main/seqprntdata/pkgnm");
  1089. model.makeNode("/root/main/seqprntdata/brtdd");
  1090. model.setValue("/root/main/seqprntdata/pid" ,model.getValue(ipt_pid.attribute("ref") ) ); //등록번호
  1091. model.setValue("/root/main/seqprntdata/hngnm" ,model.getValue(ipt_pnm.attribute("ref")) ); //성명
  1092. model.setValue("/root/main/seqprntdata/sexage" ,model.getValue(opt_sex.attribute("ref")) + "/" + model.getValue(opt_age.attribute("ref")) ); //성별,나이
  1093. model.setValue("/root/main/seqprntdata/pkgnm" ,model.getValue(opt_pkgnm.attribute("ref")) ); //패키지명
  1094. model.setValue("/root/main/seqprntdata/brtdd" ,model.getValue(ipt_brthdd.attribute("ref")) ); //생년월일
  1095. model.makeValue("/root/main/seqprntdata/cmpynm" ,model.getValue("/root/main/info/rsrvacptinfo/item/cmpynm")); //회사명
  1096. var nodeList= instance1.selectNodes("/root/main/seqprntdata/item");
  1097. if((nodeList != null) && (nodeList.length >0 )){
  1098. // exeReportPreview("RPAHA00402", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  1099. exeReportPreview("RPAHA00406", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  1100. }
  1101. }
  1102. function RgstnoCheck(){
  1103. var rgstno1 = ipt_rgstno1.currentText;
  1104. var rgstno2 = ipt_rgstno2.currentText;
  1105. var rgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1").getTrim();
  1106. var rgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2").getTrim();
  1107. if(rgstno1.length != 6 ){
  1108. messageBox("주민번호 앞6자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
  1109. model.setFocus("ipt_rgstno1");
  1110. return false;
  1111. }else if(rgstno2.length != 7){
  1112. messageBox("주민번호 뒤7자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
  1113. model.setFocus("ipt_rgstno2");
  1114. return false;
  1115. }
  1116. return true;
  1117. }
  1118. ]]>
  1119. </script>
  1120. </xhtml:head>
  1121. <xhtml:body guideline="1,1198;2,785;2,759;">
  1122. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1123. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">예약/접수</caption>
  1124. </group>
  1125. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1126. <button id="btn_rslt" class="btn3_letter6" style="left:5px; top:4px; width:96px; height:22px; ">
  1127. <caption>통합결과조회</caption>
  1128. <script type="javascript" ev:event="DOMActivate">
  1129. <![CDATA[
  1130. modal("SMAER00800","","","","",ipt_pid.attribute("ref"),"/root/main/info/patinfo/item/pid");
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. <button id="btn_visastat" class="btn6_letter5" visibility="hidden" style="left:415px; top:4px; width:92px; height:22px; ">
  1135. <caption>비자통계</caption>
  1136. </button>
  1137. <button id="btn_testrsrv" class="btn3_letter6" style="left:215px; top:4px; width:104px; height:22px; ">
  1138. <caption>외래검사예약</caption>
  1139. <script type="javascript" ev:event="onclick">
  1140. <![CDATA[
  1141. aezfPopUpRsrvSample("SMAEA02000", "", "/root/main/info/rsrvacptinfo/item");
  1142. ]]>
  1143. </script>
  1144. </button>
  1145. <button id="btn_clear" class="btn4_letter3" style="left:784px; top:4px; width:68px; height:22px; ">
  1146. <caption>초기화</caption>
  1147. <script type="javascript" ev:event="DOMActivate">
  1148. <![CDATA[
  1149. fInitInfo();
  1150. fSetBtnStat();
  1151. ]]>
  1152. </script>
  1153. </button>
  1154. <button id="btn_rsrvcncl" class="btn4_letter4" style="left:914px; top:4px; width:80px; height:22px; ">
  1155. <caption>예약취소</caption>
  1156. <script type="javascript" ev:event="DOMActivate">
  1157. <![CDATA[
  1158. if(model.getValue("/root/main/info/patinfo/item/hngnm") == "") {
  1159. model.setValue("/root/main/info/patinfo/item/hngnm", model.getValue("/root/main/info/patinfo/item/engnm"));
  1160. }
  1161. // fSaveRsrvAcpt("D");
  1162. fSaveRsrvAcptPro("D");
  1163. ]]>
  1164. </script>
  1165. </button>
  1166. <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
  1167. <caption>접수</caption>
  1168. <script type="javascript" ev:event="DOMActivate">
  1169. <![CDATA[
  1170. //주민번호 체크
  1171. if( ! RgstnoCheck() ){
  1172. return false;
  1173. }
  1174. fInitDate(true);
  1175. //연번이 입력되지 않았을때
  1176. /*
  1177. if(ipt_visayear.currentText==""){
  1178. messageBox("연번이 입력되지","I001");
  1179. return;
  1180. }
  1181. */
  1182. //주민번호나 이름이 입력이 되지 않았을때
  1183. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1184. messageBox("이름또는 주민번호를 ","C001");
  1185. return;
  1186. }
  1187. //패키지가 입력되지 않았을때
  1188. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1189. messageBox("패키지를 ", "C001");
  1190. return;
  1191. }
  1192. //국가코드 입력여부
  1193. if(model.getValue("/root/main/info/rsrvacptinfo/item/brthareacnts") == "")
  1194. {
  1195. messageBox("국가를 ", "C001");
  1196. return;
  1197. }
  1198. //model.setValue("/root/main/info/rsrvacptinfo/item/visano","/root/main/info/visalst/item/visano");
  1199. if(ipt_visayear.currentText=="")
  1200. btn_no.dispatch("DOMActivate");
  1201. //일검 비자 처리시
  1202. //fSaveRsrvAcptVisa("E");
  1203. //종건접수시에 처리하는것
  1204. //fSaveRsrvVisaAcpt("E");
  1205. //fSaveRsrvAcpt("E");
  1206. fSaveRsrvAcptPro("E");
  1207. fnSetImage();
  1208. fGetList();
  1209. ]]>
  1210. </script>
  1211. </button>
  1212. <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
  1213. <caption>접수취소</caption>
  1214. <script type="javascript" ev:event="DOMActivate">
  1215. <![CDATA[
  1216. //alert("현재 접수취소는 불가합니다. \n접수취소를 원하시면 처방관리화면에서 처방 전체를 반환해주세요.");
  1217. fSaveRsrvAcptPro("F");
  1218. ]]>
  1219. </script>
  1220. </button>
  1221. <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  1222. <caption>수납</caption>
  1223. <script type="javascript" ev:event="DOMActivate">
  1224. <![CDATA[
  1225. ahafOpenRcpt( fGetHealExamFlag()
  1226. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
  1227. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
  1228. , model.getValue("/root/main/info/patinfo/item/pid")
  1229. , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
  1230. , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
  1231. ]]>
  1232. </script>
  1233. </button>
  1234. <button id="btn_rsrvcfm1" class="btn4_letter2" style="left:855px; top:4px; width:56px; height:22px; ">
  1235. <caption>예약</caption>
  1236. <script type="javascript" ev:event="DOMActivate">
  1237. <![CDATA[
  1238. //주민번호 체크
  1239. if( ! RgstnoCheck() ){
  1240. return false;
  1241. }
  1242. //예약에는 연번이 발생하면 안됨
  1243. //연번이 입력되지 않았을 때
  1244. /*
  1245. btn_no.dispatch("DOMActivate");
  1246. if(ipt_visayear.currentText==""){
  1247. messageBox("연번이 입려되지","I001");
  1248. return;
  1249. } */
  1250. //주민번호나 이름이 입력이 되지 않았을때
  1251. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1252. messageBox("이름또는 주민번호를","C001");
  1253. return;
  1254. }
  1255. //패키지가 입력되지 않았을때
  1256. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1257. messageBox("패키지를 ", "C001");
  1258. return;
  1259. }
  1260. //model.setValue("/root/main/info/rsrvacptinfo/item/visano",ipt_visayear.currentText);
  1261. // fSaveRsrvVisaAcpt("C");
  1262. if (model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") ==""){
  1263. messageBox("예약시간을 ", "C001");
  1264. btn_totrsrvdt.dispatch("DOMActivate");
  1265. }
  1266. if(model.getValue("/root/main/info/rsrvacptinfo/item/brthareacnts") == "")
  1267. {
  1268. messageBox("국가를 ", "C001");
  1269. return;
  1270. }
  1271. model.makeValue("/root/main/info/patinfo/item/hopedd",model.getValue("/root/main/info/rsrvacptinfo/item/hopedd"));
  1272. if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") !="") {
  1273. fSaveRsrvAcptPro("C");
  1274. fnSetImage();
  1275. fGetList();
  1276. }
  1277. ]]>
  1278. </script>
  1279. </button>
  1280. <button id="btn_rsrvcfm2" class="btn4_letter2" visibility="hidden" style="left:510px; top:4px; width:56px; height:22px; ">
  1281. <caption>저장</caption>
  1282. <script type="javascript" ev:event="DOMActivate">
  1283. <![CDATA[
  1284. //주민번호 체크
  1285. if( ! RgstnoCheck() ){
  1286. return false;
  1287. }
  1288. /*
  1289. //연번이 입력되지 않았을 때
  1290. if(ipt_visayear.currentText==""){
  1291. messageBox("연번이 입력되지","I001");
  1292. return;
  1293. }
  1294. */
  1295. //주민번호나 이름이 입력이 되지 않았을때
  1296. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1297. messageBox("이름또는 주민번호가 입력되지","I001");
  1298. return;
  1299. }
  1300. // fSaveRsrvAcpt("C");
  1301. fSaveRsrvAcptPro("C");
  1302. ]]>
  1303. </script>
  1304. </button>
  1305. <button id="button8" class="btn4_letter7" style="left:568px; top:4px; width:116px; height:22px; ">
  1306. <caption>가예약일괄취소</caption>
  1307. <script type="javascript" ev:event="DOMActivate">
  1308. <![CDATA[
  1309. fDelAllTempRsrv();
  1310. ]]>
  1311. </script>
  1312. </button>
  1313. <button id="button12" class="btn4_letter5" style="left:688px; top:4px; width:92px; height:22px; ">
  1314. <caption>가예약취소</caption>
  1315. <script type="javascript" ev:event="DOMActivate">
  1316. <![CDATA[
  1317. fDelTempRsrv();
  1318. ]]>
  1319. </script>
  1320. </button>
  1321. <button id="button13" class="btn3_letter6" style="left:110px; top:4px; width:104px; height:22px; ">
  1322. <caption>비자결과조회</caption>
  1323. <script type="javascript" ev:event="DOMActivate">
  1324. <![CDATA[
  1325. open("SMAHA04320_검사결과관리.xrw");
  1326. ]]>
  1327. </script>
  1328. </button>
  1329. <button id="btn_prntseq" class="btn6_letter5" style="left:320px; top:4px; width:92px; height:22px; ">
  1330. <caption>순서표출력</caption>
  1331. <script type="javascript" ev:event="DOMActivate">
  1332. <![CDATA[
  1333. fPrntSeq();
  1334. ]]>
  1335. </script>
  1336. </button>
  1337. </group>
  1338. <group id="group1" scroll="auto" style="left:0px; top:13px; width:1200px; height:744px; ">
  1339. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1340. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1341. <caption id="caption3" class="search_name" style="left:571px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  1342. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1343. <caption>조회</caption>
  1344. <script type="javascript" ev:event="DOMActivate">
  1345. <![CDATA[
  1346. fGetList();
  1347. ]]>
  1348. </script>
  1349. </button>
  1350. <line id="line7" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1351. <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" style="left:660px; top:8px; width:170px; height:19px; "/>
  1352. <caption id="caption7" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  1353. <button id="button11" class="icon_search" style="left:835px; top:10px; width:16px; height:16px; ">
  1354. <caption/>
  1355. </button>
  1356. <output id="output7" ref="/root/send/srchpnm2" class="output_fix" style="left:855px; top:8px; width:235px; height:19px; "/>
  1357. <caption id="caption20" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  1358. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:420px; top:8px; width:110px; height:19px; ">
  1359. <choices>
  1360. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1361. <label ref="cdnm"/>
  1362. <value ref="cdid"/>
  1363. </itemset>
  1364. </choices>
  1365. <script type="javascript" ev:event="xforms-select">
  1366. <![CDATA[
  1367. cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
  1368. ]]>
  1369. </script>
  1370. </select1>
  1371. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  1372. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  1373. <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1374. </group>
  1375. <caption id="caption22" class="cell_1" visibility="hidden" style="left:1021px; top:705px; width:50px; height:23px; vertical-align:middle; ">합계</caption>
  1376. <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" visibility="hidden" format="#,###" style="left:1074px; top:707px; width:115px; height:19px; text-align:right; "/>
  1377. <output id="output15" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" visibility="hidden" style="left:38px; top:718px; width:65px; height:19px; text-align:right; "/>
  1378. <caption id="caption60" class="cell_1" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
  1379. <line id="line28" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
  1380. <caption id="caption61" class="cell_1" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
  1381. <caption id="caption62" class="cell_1" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
  1382. <caption id="caption63" class="cell_1" visibility="hidden" style="left:106px; top:693px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
  1383. <output id="output17" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" style="left:144px; top:718px; width:65px; height:19px; text-align:right; "/>
  1384. <caption id="caption64" class="cell_1" visibility="hidden" style="left:0px; top:693px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
  1385. <output id="output19" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:250px; top:718px; width:55px; height:19px; text-align:right; "/>
  1386. <output id="output20" ref="/root/main/list/listinfo/holdcnt" class="output_fix" visibility="hidden" style="left:144px; top:695px; width:65px; height:19px; "/>
  1387. <output id="output21" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:718px; width:65px; height:19px; text-align:right; "/>
  1388. <output id="output22" ref="/root/main/list/listinfo/outcnt" class="output_fix" visibility="hidden" style="left:250px; top:695px; width:55px; height:19px; "/>
  1389. <caption id="caption65" class="cell_1" visibility="hidden" style="left:212px; top:693px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
  1390. <button id="btn_grdsize" class="btn2_letter3" visibility="visible" style="left:245px; top:50px; width:53px; height:19px; ">
  1391. <caption>펼치기</caption>
  1392. <script type="javascript" ev:event="DOMActivate">
  1393. <![CDATA[
  1394. if( btn_grdsize.attribute("text") == "펼치기"){
  1395. group5.visible=false;
  1396. btn_grdsize.attribute("text") = "줄이기";
  1397. swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width"))+parseInt(swt_visa.attribute("width") );
  1398. grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1399. grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1400. grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1401. grd_reexlst.attribute("width") = parseInt(grd_reexlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1402. //swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1403. //grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1404. //grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1405. //grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1406. }
  1407. else {
  1408. btn_grdsize.attribute("text") ="펼치기";
  1409. swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width"))-parseInt(swt_visa.attribute("width") );
  1410. grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
  1411. grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) - parseInt(swt_visa.attribute("width") );
  1412. grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
  1413. grd_reexlst.attribute("width") = parseInt(grd_reexlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
  1414. group5.visible=true;
  1415. }
  1416. ]]>
  1417. </script>
  1418. </button>
  1419. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
  1420. <caption>접수</caption>
  1421. <script type="javascript" ev:event="DOMActivate">
  1422. <![CDATA[
  1423. model.toggle("case_acpt");
  1424. //예약이 아닐시에 사용할수 없게 만듬
  1425. ipt_rsrvtm.disabled=true;
  1426. btn_totrsrvdt.disabled=true;
  1427. fGetList();
  1428. //btn_acpt.disabled = true;
  1429. model.refresh();
  1430. ]]>
  1431. </script>
  1432. </button>
  1433. <button id="button4" class="btn_sw" group="tab" style="left:181px; top:50px; width:60px; height:22px; ">
  1434. <caption>취소</caption>
  1435. <script type="javascript" ev:event="DOMActivate">
  1436. <![CDATA[
  1437. model.toggle("case_cncl");
  1438. //예약이 아닐 시에 사용할 수 없게 만듬
  1439. ipt_rsrvtm.disabled=true;
  1440. btn_totrsrvdt.disabled=true;
  1441. fGetList();
  1442. //btn_acpt.disabled = false;
  1443. model.refresh();
  1444. ]]>
  1445. </script>
  1446. </button>
  1447. <button id="button5" class="btn_sw" group="tab" style="left:59px; top:49px; width:60px; height:22px; ">
  1448. <caption>예약</caption>
  1449. <script type="javascript" ev:event="DOMActivate">
  1450. <![CDATA[
  1451. model.toggle("case_rsrv");
  1452. //예약시 컨트롤 사용가능하게
  1453. ipt_rsrvtm.disabled=false;
  1454. btn_totrsrvdt.disabled=false;
  1455. fGetList();
  1456. //btn_acpt.disabled = false;
  1457. model.refresh();
  1458. ]]>
  1459. </script>
  1460. </button>
  1461. <group id="group3" style="left:2px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1462. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1463. <caption id="caption5" class="search_name" style="left:521px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  1464. <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1465. <caption>조회</caption>
  1466. <script type="javascript" ev:event="DOMActivate">
  1467. <![CDATA[
  1468. fGetList();
  1469. ]]>
  1470. </script>
  1471. </button>
  1472. <line id="line4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1473. <input id="srch_pid" ref="/root/send/srchpid2" class="input_search" style="left:615px; top:8px; width:100px; height:19px; "/>
  1474. <caption id="caption10" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  1475. <button id="button7" class="icon_search" style="left:720px; top:10px; width:16px; height:16px; ">
  1476. <caption/>
  1477. <script type="javascript" ev:event="DOMActivate">
  1478. <![CDATA[
  1479. fSearchPatInfo("SMAHA00600", "rgstno", srch_pid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  1480. ]]>
  1481. </script>
  1482. </button>
  1483. <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:740px; top:8px; width:140px; height:19px; "/>
  1484. <caption id="caption13" class="search_name" style="left:321px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  1485. <select1 id="combo1" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:410px; top:8px; width:105px; height:19px; ">
  1486. <choices>
  1487. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1488. <label ref="cdnm"/>
  1489. <value ref="cdid"/>
  1490. </itemset>
  1491. </choices>
  1492. <script type="javascript" ev:event="xforms-select">
  1493. <![CDATA[
  1494. cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
  1495. ]]>
  1496. </script>
  1497. </select1>
  1498. <input id="input2" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  1499. <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  1500. <caption id="caption14" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1501. <caption id="caption17" class="search_name" style="left:886px; top:8px; width:89px; height:17px; ">연번검색 :</caption>
  1502. <input id="ipt_srch_visano" ref="/root/send/srchvisano" class="input_search" style="left:990px; top:8px; width:105px; height:19px; "/>
  1503. </group>
  1504. <group id="group5" style="left:305px; top:50px; width:885px; height:605px; ">
  1505. <button id="btn_histlst" class="btn_sw" group="tab" style="left:185px; top:241px; width:74px; height:22px; ">
  1506. <caption>건진이력</caption>
  1507. <script type="javascript" ev:event="DOMActivate">
  1508. <![CDATA[
  1509. model.toggle("case_hist" );
  1510. ahafGetHistList(ipt_pid.value);
  1511. ]]>
  1512. </script>
  1513. </button>
  1514. <button id="btn_searchzipcd" class="icon_search" style="left:370px; top:183px; width:16px; height:16px; ">
  1515. <caption/>
  1516. <script type="javascript" ev:event="DOMActivate">
  1517. <![CDATA[
  1518. // ahafSetAddr(1, "/root/main/info/patinfo/item");
  1519. ahafSetAddr(1, "/root/main/info/patinfo/item", "combination");
  1520. ]]>
  1521. </script>
  1522. </button>
  1523. <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" navindex="9" imemode="hangul" style="left:391px; top:182px; width:167px; height:19px; ">
  1524. <script type="javascript" ev:event="onkeyup">
  1525. <![CDATA[
  1526. if( event.keyCode == 13 ){
  1527. var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
  1528. opt_addr.value = model.getValue(srcNode + "/addr") ;
  1529. }
  1530. fMoveFocus("ipt_detladdr");
  1531. ]]>
  1532. </script>
  1533. </input>
  1534. <caption id="caption93" class="search_n_b" style="left:307px; top:108px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1535. <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:401px; top:131px; width:36px; height:19px; "/>
  1536. <button id="btn_pkgdetl" class="btn_sw" group="tab" style="left:95px; top:241px; width:89px; height:22px; ">
  1537. <caption>패키지상세</caption>
  1538. <script type="javascript" ev:event="DOMActivate">
  1539. <![CDATA[
  1540. model.toggle("case_pkgdetl" );
  1541. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1542. ahafGetPkgDetlList(PkgCd);
  1543. ]]>
  1544. </script>
  1545. </button>
  1546. <select1 id="cmb_brthareacnts" ref="/root/main/info/rsrvacptinfo/item/brthareacnts" class="combo_search" navindex="8" appearance="minimal" style="left:760px; top:155px; width:100px; height:19px; ">
  1547. <choices>
  1548. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  1549. <label ref="cdnm"/>
  1550. <value ref="cdid"/>
  1551. </itemset>
  1552. </choices>
  1553. <script type="javascript" ev:event="xforms-select">
  1554. <![CDATA[
  1555. //fMessageChk(false);
  1556. fMoveFocus("btn_searchzipcd");
  1557. ]]>
  1558. </script>
  1559. </select1>
  1560. <caption id="cap_rsrvtm" class="cell_1" style="left:774px; top:27px; width:56px; height:23px; vertical-align:middle; ">예약시간</caption>
  1561. <line id="line10" class="line_1" style="x1:10px; y1:23px; x2:875px; y2:23px; "/>
  1562. <button id="button2" class="btn_sw" group="tab" style="left:10px; top:241px; width:84px; height:22px; ">
  1563. <caption>선택패키지</caption>
  1564. <toggle case="case_pkg" ev:event="onclick"/>
  1565. </button>
  1566. <caption id="caption51" class="tit_2" style="left:15px; top:29px; width:144px; height:13px; ">처방관리</caption>
  1567. <caption id="caption52" class="tit_2" style="left:15px; top:80px; width:144px; height:13px; ">건진자 정보</caption>
  1568. <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" imemode="alpha" maxlength="10" style="left:570px; top:130px; width:100px; height:19px; ">
  1569. <script type="javascript" ev:event="onkeyup">
  1570. <![CDATA[
  1571. if( event.keyCode == 13 ){
  1572. fInitRsrvAcptInfo();
  1573. fGetPatInfo(2);
  1574. fGetDetlInfoHid();
  1575. ipt_visayear.currentText=getCurrentDate();
  1576. }
  1577. ]]>
  1578. </script>
  1579. </input>
  1580. <input id="ipt_visayear" ref="/root/main/info/rsrvacptinfo/item/visano" class="input_essential" maxlength="10" style="left:760px; top:130px; width:105px; height:19px; "/>
  1581. <button id="btn_no" class="btn4_letter6" visibility="hidden" style="left:415px; top:65px; width:104px; height:22px; ">
  1582. <caption>비자연번생성</caption>
  1583. <script type="javascript" ev:event="DOMActivate">
  1584. <![CDATA[
  1585. fGetVisano();
  1586. ]]>
  1587. </script>
  1588. </button>
  1589. <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" format="hh:nn" style="left:832px; top:28px; width:42px; height:19px; ">
  1590. <script type="javascript" ev:event="onkeyup">
  1591. <![CDATA[
  1592. fMoveFocus("ipt_pnm");
  1593. ]]>
  1594. </script>
  1595. </input>
  1596. <caption id="caption53" class="cell_1" style="left:180px; top:105px; width:55px; height:23px; vertical-align:middle; ">주민번호</caption>
  1597. <caption id="caption32" class="tit_2" style="left:15px; top:7px; width:144px; height:13px; ">예약/접수정보</caption>
  1598. <input id="ipt_engnm" ref="/root/main/info/patinfo/item/engnm" class="input_default" navindex="3" imemode="alpha" maxlength="50" _chartype="upper" text-transform="uppercase" style="left:570px; top:106px; width:100px; height:19px; ">
  1599. <script type="javascript" ev:event="onkeyup">
  1600. <![CDATA[
  1601. //엔터 누를시에 대문자로 전환시켜 저장
  1602. if( event.keyCode == 13 ){
  1603. var a=ipt_engnm.currentText;
  1604. a=a.toUpperCase();
  1605. model.setValue("/root/main/info/patinfo/item/engnm",a);
  1606. out_engnm.value = ipt_engnm.value;
  1607. model.refresh();
  1608. fMoveFocus("ipt_pnm");
  1609. }
  1610. ]]>
  1611. </script>
  1612. </input>
  1613. <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:239px; top:182px; width:57px; height:19px; "/>
  1614. <caption id="caption1" class="search_n_b" style="left:297px; top:183px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1615. <caption id="caption33" class="cell_1" style="left:459px; top:28px; width:59px; height:23px; vertical-align:middle; ">접수일자</caption>
  1616. <line id="line14" class="line_3" style="x1:10px; y1:50px; x2:875px; y2:50px; "/>
  1617. <line id="line25" class="line_1" style="x1:9px; y1:96px; x2:874px; y2:96px; "/>
  1618. <caption id="caption55" class="cell_1" style="left:180px; top:180px; width:55px; height:25px; vertical-align:middle; ">주소</caption>
  1619. <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:309px; top:182px; width:57px; height:19px; "/>
  1620. <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:560px; top:182px; width:305px; height:19px; ">
  1621. <script type="javascript" ev:event="onkeyup">
  1622. <![CDATA[
  1623. fMoveFocus("ipt_patremcnts");
  1624. ]]>
  1625. </script>
  1626. </input>
  1627. <caption id="caption11" class="cell_1" style="left:180px; top:130px; width:55px; height:23px; vertical-align:middle; ">성명(한)</caption>
  1628. <line id="line15" class="line_3" style="x1:10px; y1:210px; x2:875px; y2:210px; "/>
  1629. <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="1" format="999999" style="left:239px; top:106px; width:64px; height:19px; "/>
  1630. <caption id="caption12" class="cell_1" style="left:680px; top:130px; width:74px; height:23px; vertical-align:middle; ">비자연번</caption>
  1631. <caption id="caption46" class="cell_1" style="left:679px; top:155px; width:76px; height:23px; vertical-align:middle; ">국가</caption>
  1632. <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="2" format="9999999" style="left:321px; top:106px; width:69px; height:19px; ">
  1633. <script type="javascript" ev:event="xforms-value-changed">
  1634. <![CDATA[
  1635. if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
  1636. fInitRsrvAcptInfo();
  1637. //주민번호로 환자 검색
  1638. fSetBrthDD();
  1639. //비자 연령 세팅
  1640. //fSetBrthDDVisa();
  1641. //외국인일 경우 나이 그냥 세팅
  1642. //fGetPatInfoVisa(1);
  1643. if(fGetPatInfo(1) != false)
  1644. {
  1645. model.setFocus("ipt_engnm");
  1646. };
  1647. fGetDetlInfoHid();
  1648. }
  1649. ]]>
  1650. </script>
  1651. <script type="javascript" ev:event="onkeyup">
  1652. <![CDATA[
  1653. if( event.keyCode == 13 ){
  1654. //fGetPatInfo(1);
  1655. //model.setFocus("ipt_pid");
  1656. //주민번호로 환자 검색 like~
  1657. if( getStringLength(ipt_rgstno2.currentText) < 7 ){
  1658. fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
  1659. }
  1660. else {
  1661. if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
  1662. }
  1663. fGetDetlInfoHid();
  1664. model.setFocus("ipt_mpphon");
  1665. }
  1666. ]]>
  1667. </script>
  1668. </input>
  1669. <caption id="caption4" class="cell_1" style="left:616px; top:27px; width:59px; height:23px; vertical-align:middle; ">예약일자</caption>
  1670. <caption id="caption47" class="cell_1" style="left:180px; top:155px; width:55px; height:23px; vertical-align:middle; ">여권번호</caption>
  1671. <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:520px; top:28px; width:93px; height:19px; "/>
  1672. <caption id="caption69" class="cell_1" style="left:495px; top:130px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
  1673. <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" visibility="hidden" inputtype="date" style="left:390px; top:0px; width:108px; height:19px; "/>
  1674. <caption id="caption48" class="cell_1" style="left:495px; top:105px; width:70px; height:23px; vertical-align:middle; ">성명(영)</caption>
  1675. <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" inputtype="date" style="left:677px; top:28px; width:93px; height:19px; "/>
  1676. <button id="btn_selpnm" class="icon_search" style="left:394px; top:108px; width:16px; height:16px; ">
  1677. <caption/>
  1678. <script type="javascript" ev:event="DOMActivate">
  1679. <![CDATA[
  1680. fInitRsrvAcptInfo();
  1681. fSearchPatInfo("SMAHA00600", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
  1682. fGetDetlInfoHid();
  1683. ]]>
  1684. </script>
  1685. </button>
  1686. <line id="line3" class="line_1" style="x1:10px; y1:215px; x2:875px; y2:215px; "/>
  1687. <caption id="caption39" class="cell_1" style="left:10px; top:27px; width:55px; height:23px; vertical-align:middle; ">검진구분</caption>
  1688. <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" disabled="true" appearance="minimal" style="left:67px; top:29px; width:90px; height:19px; ">
  1689. <choices>
  1690. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1691. <label ref="cdnm"/>
  1692. <value ref="cdid"/>
  1693. </itemset>
  1694. </choices>
  1695. </select1>
  1696. <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:440px; top:131px; width:46px; height:19px; "/>
  1697. <input id="ipt_psptno" ref="/root/main/info/patinfo/item/psptno" class="input_default" navindex="5" autonext="true" imemode="alpha" maxlength="20" _chartype="upper" style="left:239px; top:155px; width:88px; height:19px; ">
  1698. <script type="javascript" ev:event="onkeyup">
  1699. <![CDATA[
  1700. //엔터 누를시에 대문자로 전환시킴
  1701. if( event.keyCode == 13 ){
  1702. var b=ipt_psptno.currentText;
  1703. b=b.toUpperCase();
  1704. model.setValue("/root/main/info/patinfo/item/psptno",b);
  1705. model.refresh();
  1706. }
  1707. fMoveFocus("ipt_telno");
  1708. ]]>
  1709. </script>
  1710. <script type="javascript" ev:event="xforms-value-changed">
  1711. <![CDATA[
  1712. if(getStringLength(ipt_psptno.currentText)>19){
  1713. model.setFocus("cmb_brthareacnts");
  1714. }
  1715. ]]>
  1716. </script>
  1717. </input>
  1718. <button id="btn_totrsrvdt" class="btn2_letter6" disabled="false" style="left:787px; top:3px; width:86px; height:19px; ">
  1719. <caption>예약시간선택</caption>
  1720. <script type="javascript" ev:event="DOMActivate">
  1721. <![CDATA[
  1722. fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
  1723. ]]>
  1724. </script>
  1725. </button>
  1726. <button id="btn_savepatinfo" class="btn5_letter6" style="left:787px; top:75px; width:86px; height:19px; ">
  1727. <caption>인적사항저장</caption>
  1728. <script type="javascript" ev:event="DOMActivate">
  1729. <![CDATA[
  1730. //인적사항을 인서트 한다.
  1731. fSavePatInfo("N");
  1732. fnSetImage();
  1733. fGetList();
  1734. ]]>
  1735. </script>
  1736. </button>
  1737. <switch id="swt_visa" style="left:10px; top:260px; width:865px; height:240px; border-color:#c7a3cf; border-style:solid; ">
  1738. <case id="case_pkg" selected="true" style="left:0px; top:0px; width:880px; height:448px; ">
  1739. <caption id="cap_pkgcd" class="cell_1" style="left:5px; top:8px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
  1740. <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" maxlength="12" style="left:90px; top:9px; width:85px; height:19px; ">
  1741. <script type="javascript" ev:event="onkeyup">
  1742. <![CDATA[
  1743. inputEnterKey("btn_selpkg", "DOMActivate");
  1744. ]]>
  1745. </script>
  1746. </input>
  1747. <button id="btn_selpkg" class="icon_search" style="left:180px; top:10px; width:16px; height:16px; ">
  1748. <caption/>
  1749. <script type="javascript" ev:event="DOMActivate">
  1750. <![CDATA[
  1751. model.removeNode( "/root/temp2/addlst" );
  1752. model.removeNode( "/root/temp/templst/list" );
  1753. model.makeNode("/root/temp2/addlst");
  1754. //model.resetInstanceNode(grd_addlst.nodeset);
  1755. model.removeNodeSet(grd_addlst.nodeset);
  1756. // model.makeNodeset(grd_addlst.nodeset);
  1757. var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1758. var old_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
  1759. var old_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
  1760. var old_conhistseq = model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq");
  1761. //var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1762. fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item","","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2") ), cmb_brthareacnts.value);
  1763. // fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , "G02", opt_sex.value , "/root/main/info/rsrvacptinfo/item");
  1764. // var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1765. model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
  1766. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt, opt_addamt );
  1767. // model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
  1768. //model.setValue("/root/main/info/rcptinfo/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
  1769. //model.setValue("/root/temp/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
  1770. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1771. //alert(count_a);
  1772. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1773. count_a = count_a == "" ? 0 : count_a;
  1774. count_b = count_b == "" ? 0 : count_b;
  1775. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1776. fMessageChk(false);
  1777. var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1778. var cur_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
  1779. var cur_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
  1780. var cur_conhistseq = model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq");
  1781. //같은 패키지 이거나 같은 계약정보일경우 return
  1782. if( (cur_cmpycd != "") && (cur_conseq != "") && (cur_conhistseq != "") ) {
  1783. model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag", "Y");
  1784. model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag", "02");
  1785. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd", "V02");
  1786. }else{
  1787. model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag", "N");
  1788. model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag", "01");
  1789. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd", "V01");
  1790. }
  1791. var acpt_remcnts = model.getValue("/root/main/info/rsrvacptinfo/item/pkgremcnts") ;
  1792. model.setValue( tar_remcnts.attribute("ref") , acpt_remcnts);
  1793. var cur_pkgnm = opt_pkgnm.value;
  1794. //패키지 상세내역 조회
  1795. fGetConAddList(cur_pkgcd, cur_pkgnm, opt_sex.value, cur_cmpycd, cur_conseq , cur_conhistseq);
  1796. // 2008-06-12 이성인 model.refresh(); 주석처리 및 이벤트 끝으로 이동
  1797. //model.refresh();
  1798. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_subtotamt, opt_pkgamt, opt_addamt );
  1799. //패키지금액 , 선수금 , 추가검사, 할인금액,소계금액 , 미수금액 , 청구방법 , 수납액
  1800. /* model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
  1801. model.setValue("/root/main/info/rcptinfo/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
  1802. model.setValue("/root/temp/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
  1803. */
  1804. if(old_pkgcd != "" && old_pkgcd != cur_pkgcd || old_cmpycd != old_cmpycd && old_conseq != cur_conseq && old_conhistseq != cur_conhistseq){
  1805. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  1806. }
  1807. fDcAmtCalc();
  1808. // btn_acpt.disabled = false;
  1809. model.refresh();
  1810. ]]>
  1811. </script>
  1812. </button>
  1813. <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:201px; top:9px; width:329px; height:19px; "/>
  1814. <line id="line44" class="line_1" style="x1:5px; y1:3px; x2:862px; y2:3px; "/>
  1815. <line id="line43" class="line_2" style="x1:5px; y1:31px; x2:857px; y2:31px; "/>
  1816. <caption id="caption92" class="cell_1" style="left:5px; top:33px; width:83px; height:23px; vertical-align:middle; ">최근건진내역</caption>
  1817. <output id="opt_latestpkginfo" ref="/root/main/info/rsrvacptinfo/item/latestpkginfo" class="output_fix" style="left:90px; top:34px; width:450px; height:19px; "/>
  1818. <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^할인액^검사일련번호^수가코드^처방번호^처방일자^처방구분^묶음검사구분^addtotamt" colsep="^" colwidth="33, 62, 100, 293, 93, 138, 95, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:60px; width:855px; height:175px; ">
  1819. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1820. <col ref="testflag" type="combo">
  1821. <choices>
  1822. <itemset nodeset="/root/init/baseinfo/testflag/A0117">
  1823. <label ref="cdnm"/>
  1824. <value ref="cdid"/>
  1825. </itemset>
  1826. </choices>
  1827. </col>
  1828. <col ref="testcd" type="inputbutton"/>
  1829. <col ref="testnm"/>
  1830. <col ref="uncocd" type="combo">
  1831. <choices>
  1832. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1833. <label ref="nm"/>
  1834. <value ref="cd"/>
  1835. </itemset>
  1836. </choices>
  1837. </col>
  1838. <col ref="scoreamt" visibility="visible" format="(-,+)#,###" style="text-align:right; "/>
  1839. <col ref="prcptims" type="input"/>
  1840. <col ref="discamt" format="(-,+)#,###"/>
  1841. <col ref="examseq"/>
  1842. <col ref="calcscorcd"/>
  1843. <col ref="prcpno"/>
  1844. <col ref="prcpdd"/>
  1845. <col ref="m"/>
  1846. <col ref="grupflag"/>
  1847. <col ref="addtotamt" visibility="hidden"/>
  1848. <script type="javascript" ev:event="onendedit">
  1849. <![CDATA[
  1850. if( (grd_addlst.col == 3 ) && (event.keyCode == 13 )) {
  1851. fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
  1852. }
  1853. ]]>
  1854. </script>
  1855. <script type="javascript" ev:event="xforms-value-changed">
  1856. <![CDATA[
  1857. if(grd_addlst.col == grd_addlst.colRef("uncocd")) {
  1858. fSetAddAmt();
  1859. }
  1860. ]]>
  1861. </script>
  1862. </datagrid>
  1863. <button id="button3" class="btn2_letter3" visibility="hidden" style="left:744px; top:34px; width:53px; height:19px; ">
  1864. <caption>행추가</caption>
  1865. <script type="javascript" ev:event="DOMActivate">
  1866. <![CDATA[
  1867. grd_addlst.addRow();
  1868. grd_addlst.col = 3;
  1869. grd_addlst.editCell();
  1870. ]]>
  1871. </script>
  1872. </button>
  1873. <button id="btn_grup" class="btn2_letter4" visibility="hidden" style="left:610px; top:34px; width:64px; height:19px; ">
  1874. <caption>묶음처방</caption>
  1875. <script type="javascript" ev:event="DOMActivate">
  1876. <![CDATA[
  1877. fGetPkgCd("SMAHA00600", "X", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
  1878. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y");
  1879. fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
  1880. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1881. //alert(count_a);
  1882. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1883. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1884. ]]>
  1885. </script>
  1886. </button>
  1887. <button id="btn_del" class="btn2_letter3" visibility="hidden" style="left:800px; top:34px; width:53px; height:19px; ">
  1888. <caption>행삭제</caption>
  1889. <script type="javascript" ev:event="DOMActivate">
  1890. <![CDATA[
  1891. model.setValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/m", "d");
  1892. grd_addlst.addStatus(grd_addlst.row, "delete");
  1893. ]]>
  1894. </script>
  1895. </button>
  1896. <button id="btn_add" class="btn2_letter4" style="left:730px; top:34px; width:64px; height:19px; ">
  1897. <caption>추가검사</caption>
  1898. <script type="javascript" ev:event="DOMActivate">
  1899. <![CDATA[
  1900. fGetPkgCd("SMAHA00600", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
  1901. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  1902. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
  1903. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1904. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1905. count_a = count_a == "" ? 0 : count_a;
  1906. count_b = count_b == "" ? 0 : count_b;
  1907. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1908. fDcAmtCalc();
  1909. ]]>
  1910. </script>
  1911. </button>
  1912. <button id="btn_ordmgt" class="btn2_letter4" visibility="visible" style="left:797px; top:34px; width:64px; height:19px; ">
  1913. <caption>처방관리</caption>
  1914. <script type="javascript" ev:event="DOMActivate">
  1915. <![CDATA[
  1916. setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
  1917. setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
  1918. modal("SMAHA04050");
  1919. ]]>
  1920. </script>
  1921. </button>
  1922. <caption id="caption15" class="cell_1" style="left:534px; top:8px; width:48px; height:23px; vertical-align:middle; ">사업장</caption>
  1923. <input id="ipt_cmpycd" ref="/root/main/info/rsrvacptinfo/item/cmpycd" style="left:585px; top:9px; width:80px; height:19px; ">
  1924. <script type="javascript" ev:event="onkeyup">
  1925. <![CDATA[
  1926. inputEnterKey("button14", "DOMActivate");
  1927. ]]>
  1928. </script>
  1929. <script type="javascript" ev:event="xforms-value-changed">
  1930. <![CDATA[
  1931. if(model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd") != "") {
  1932. model.setValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V02");
  1933. }else {
  1934. model.setValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V01");
  1935. model.setValue("/root/main/info/rsrvacptinfo/item/cmpynm" , "");
  1936. }
  1937. fSetAddAmt();
  1938. ]]>
  1939. </script>
  1940. </input>
  1941. <button id="button14" class="icon_search" style="left:670px; top:10px; width:16px; height:16px; ">
  1942. <caption/>
  1943. <script type="javascript" ev:event="DOMActivate">
  1944. <![CDATA[
  1945. fGetComnCd("SMAHA01500", "09" , "cd", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
  1946. if(model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd") != "") {
  1947. model.setValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V02");
  1948. fSetAddAmt();
  1949. }
  1950. ipt_cmpycd.refresh();
  1951. opt_cmpynm.refresh();
  1952. ]]>
  1953. </script>
  1954. </button>
  1955. <output id="opt_cmpynm" ref="/root/main/info/rsrvacptinfo/item/cmpynm" class="output_fix" style="left:690px; top:9px; width:169px; height:19px; "/>
  1956. </case>
  1957. <case id="case_hist">
  1958. <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="신검일자^패키지코드^패키지명^비자연번^접수상태^특이사항^취소일" colsep="^" colwidth="78, 99, 261, 100, 77, 116, 80" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
  1959. <col ref="orddd"/>
  1960. <col ref="pkgcd"/>
  1961. <col ref="pkgnm"/>
  1962. <col ref="visano"/>
  1963. <col disabled="true" ref="statflag" type="combo">
  1964. <choices>
  1965. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  1966. <label ref="cdnm"/>
  1967. <value ref="cdid"/>
  1968. </itemset>
  1969. </choices>
  1970. </col>
  1971. <col ref="remcnts"/>
  1972. <col ref="cncldd" format="yyyy-mm-dd" style="text-align:center; "/>
  1973. </datagrid>
  1974. </case>
  1975. <case id="case_cur">
  1976. <datagrid id="grd_curlst" nodeset="/root/main/info/curlst/item" caption="예약일자^예약시간^접수일자^검사코드^검사명^검사실^상태" colsep="^" colwidth="78, 76, 99, 92, 249, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
  1977. <col ref="hopedd"/>
  1978. <col ref="rsrvtm"/>
  1979. <col ref="orddd"/>
  1980. <col ref="testcd"/>
  1981. <col ref="testnm"/>
  1982. <col ref="testroomcd" type="combo"/>
  1983. <col ref="statflag"/>
  1984. </datagrid>
  1985. </case>
  1986. <case id="case_pkgdetl">
  1987. <datagrid id="grd_pkgdetl" nodeset="/root/main/info/pkgdetl/item" caption="검진코드^검진구분^검사분류^검사명^참고치^패키지분류^최종수정자^최종수정일시" colsep="^" colwidth="35, 110, 135, 193, 162, 100" mergecells="byrowrec" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
  1988. <col disabled="false" ref="pkgcd" visibility="hidden"/>
  1989. <col ref="cdnm"/>
  1990. <col ref="spcnm"/>
  1991. <col ref="testnm"/>
  1992. <col ref="stndval"/>
  1993. <col disabled="true" ref="padd" visibility="hidden"/>
  1994. <script type="javascript" ev:event="ondblclick">
  1995. <![CDATA[
  1996. ]]>
  1997. </script>
  1998. </datagrid>
  1999. </case>
  2000. </switch>
  2001. <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" visibility="hidden" caption="선택^검사구분^검사코드^검사명^청구방법^가격" colsep="^" colwidth="33, 50, 100, 293, 160, 143" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:45px; top:375px; width:270px; height:65px; ">
  2002. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  2003. <col ref="pkgflag" visibility="hidden"/>
  2004. <col ref="pkgcd" type="inputbutton"/>
  2005. <col ref="testnm"/>
  2006. <col ref="uncocd" type="combo">
  2007. <choices>
  2008. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  2009. <label ref="nm"/>
  2010. <value ref="cd"/>
  2011. </itemset>
  2012. </choices>
  2013. </col>
  2014. <col ref="manamt" visibility="visible"/>
  2015. <script type="javascript" ev:event="onendedit">
  2016. <![CDATA[
  2017. if( grd_addlst.col == 3 ){
  2018. fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
  2019. }
  2020. ]]>
  2021. </script>
  2022. </datagrid>
  2023. <group id="grp_msgmng" visibility="hidden" style="left:320px; top:330px; width:460px; height:105px; ">
  2024. <caption id="caption70" class="cell_1" style="left:5px; top:33px; width:36px; height:19px; vertical-align:middle; ">국가</caption>
  2025. <select1 id="combo5" ref="/root/temp/item/brthareacnts" class="combo_search" appearance="minimal" style="left:43px; top:33px; width:90px; height:19px; ">
  2026. <choices>
  2027. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2028. <label ref="cdnm"/>
  2029. <value ref="cdid"/>
  2030. </itemset>
  2031. </choices>
  2032. </select1>
  2033. <caption id="caption71" class="cell_1" style="left:138px; top:33px; width:36px; height:19px; vertical-align:middle; ">성별</caption>
  2034. <select1 id="rdo_sex" ref="/root/temp/item/sex" appearance="full" cols="4" rows="1" overflow="visible" style="left:176px; top:33px; width:90px; height:19px; border-style:none; ">
  2035. <choices>
  2036. <item>
  2037. <label>남자</label>
  2038. <value>M</value>
  2039. </item>
  2040. <item>
  2041. <label>여자</label>
  2042. <value>F</value>
  2043. </item>
  2044. </choices>
  2045. </select1>
  2046. <caption id="caption72" class="cell_1" style="left:269px; top:33px; width:36px; height:19px; vertical-align:middle; ">나이</caption>
  2047. <input id="ipt_fromage" ref="/root/temp/item/fromage" class="input_default" format="999999" style="left:307px; top:33px; width:64px; height:19px; "/>
  2048. <caption id="caption73" class="search_n_b" style="left:375px; top:33px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  2049. <input id="ipt_toage" ref="/root/temp/item/toage" class="input_default" format="9999999" style="left:390px; top:33px; width:69px; height:19px; "/>
  2050. <caption id="caption74" class="cell_1" style="left:5px; top:55px; width:36px; height:19px; vertical-align:middle; ">내용</caption>
  2051. <textarea id="ipt_msgcnts" ref="/root/temp/item/msgcnts" imemode="hangul" maxlength="250" appearance="textarea" style="left:43px; top:55px; width:415px; height:19px; "/>
  2052. <button id="button30" class="btn2_letter2" style="left:415px; top:5px; width:42px; height:19px; ">
  2053. <caption>닫기</caption>
  2054. <script type="javascript" ev:event="DOMActivate">
  2055. <![CDATA[
  2056. grp_msgmng.visible = false;
  2057. ]]>
  2058. </script>
  2059. </button>
  2060. <line id="line24" class="line_1" style="x1:5px; y1:30px; x2:457px; y2:29px; "/>
  2061. <caption id="caption21" ref="/root/temp/temprslt/temptestnm" class="tit_2" style="left:5px; top:10px; width:305px; height:13px; ">국가별 메시지관리</caption>
  2062. <button id="button31" class="btn4_letter2" style="left:400px; top:80px; width:56px; height:22px; ">
  2063. <caption>저장</caption>
  2064. <script type="javascript" ev:event="onclick">
  2065. <![CDATA[
  2066. ]]>
  2067. </script>
  2068. </button>
  2069. </group>
  2070. <caption id="caption91" class="cell_1" style="left:335px; top:130px; width:63px; height:23px; vertical-align:middle; ">성별/나이</caption>
  2071. <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_default" navindex="4" imemode="hangul" maxlength="50" style="left:239px; top:131px; width:88px; height:19px; ">
  2072. <script type="javascript" ev:event="onkeyup">
  2073. <![CDATA[
  2074. fMoveFocus("ipt_psptno");
  2075. ]]>
  2076. </script>
  2077. </input>
  2078. <button id="button10" class="btn5_letter6" visibility="hidden" style="left:695px; top:75px; width:86px; height:19px; ">
  2079. <caption>인적사항수정</caption>
  2080. <script type="javascript" ev:event="DOMActivate">
  2081. <![CDATA[
  2082. //인적사항을 업데이트 한다.
  2083. fSavePatInfo("N");
  2084. ]]>
  2085. </script>
  2086. </button>
  2087. <button id="button32" class="btn2_letter5" visibility="hidden" style="left:615px; top:75px; width:75px; height:19px; ">
  2088. <caption>메시지관리</caption>
  2089. <script type="javascript" ev:event="DOMActivate">
  2090. <![CDATA[
  2091. grp_msgmng.visible = true;
  2092. ]]>
  2093. </script>
  2094. </button>
  2095. <caption id="caption25" class="tit_2" style="left:15px; top:226px; width:144px; height:13px; ">건진 정보</caption>
  2096. <output id="out_engnm" ref="/root/main/info/patinfo/item/engnm" appearance="output" style="left:105px; top:75px; width:295px; height:19px; "/>
  2097. <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" navindex="7" imemode="alpha" maxlength="30" style="left:570px; top:155px; width:100px; height:19px; ">
  2098. <script type="javascript" ev:event="onkeyup">
  2099. <![CDATA[
  2100. fMoveFocus("cmb_brthareacnts");
  2101. ]]>
  2102. </script>
  2103. </input>
  2104. <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="6" imemode="alpha" maxlength="30" style="left:400px; top:155px; width:90px; height:19px; ">
  2105. <script type="javascript" ev:event="onkeyup">
  2106. <![CDATA[
  2107. fMoveFocus("ipt_mpphon");
  2108. ]]>
  2109. </script>
  2110. </input>
  2111. <caption id="caption45" class="cell_1" style="left:495px; top:155px; width:70px; height:23px; vertical-align:middle; ">휴대폰</caption>
  2112. <caption id="caption49" class="cell_1" style="left:334px; top:155px; width:66px; height:23px; vertical-align:middle; ">연락처</caption>
  2113. <input id="input1" ref="/root/main/info/patinfo/item/engnm2" class="input_default" navindex="3" imemode="alpha" maxlength="50" _chartype="upper" text-transform="uppercase" style="left:760px; top:105px; width:105px; height:19px; ">
  2114. <script type="javascript" ev:event="onkeyup">
  2115. <![CDATA[
  2116. //엔터 누를시에 대문자로 전환시켜 저장
  2117. if( event.keyCode == 13 ){
  2118. var a=ipt_engnm.currentText;
  2119. a=a.toUpperCase();
  2120. model.setValue("/root/main/info/patinfo/item/engnm",a);
  2121. out_engnm.value = ipt_engnm.value;
  2122. model.refresh();
  2123. fMoveFocus("ipt_pnm");
  2124. }
  2125. ]]>
  2126. </script>
  2127. </input>
  2128. <caption id="caption18" class="cell_1" style="left:680px; top:105px; width:73px; height:23px; vertical-align:middle; ">성명2(영)</caption>
  2129. <select1 id="rdo_visaflag" ref="/root/main/info/rsrvacptinfo/item/visaflag" appearance="full" cols="4" rows="1" overflow="visible" style="left:220px; top:29px; width:89px; height:20px; border-style:none; ">
  2130. <choices>
  2131. <item>
  2132. <label>이민</label>
  2133. <value>M</value>
  2134. </item>
  2135. <item>
  2136. <label>유학</label>
  2137. <value>S</value>
  2138. </item>
  2139. </choices>
  2140. </select1>
  2141. <caption id="caption50" class="cell_1" style="left:157px; top:27px; width:58px; height:23px; vertical-align:middle; ">비자구분</caption>
  2142. <caption id="caption2" class="tit_2" style="left:10px; top:510px; width:144px; height:13px; ">추가정보</caption>
  2143. <line id="line1" class="line_1" style="x1:11px; y1:528px; x2:876px; y2:528px; "/>
  2144. <select1 id="rdo_healexamplacecd" ref="/root/init/place/healexamplacecd" appearance="full" cols="2" overflow="visible" style="left:615px; top:3px; width:165px; height:20px; border-style:none; ">
  2145. <choices>
  2146. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  2147. <label ref="cdnm"/>
  2148. <value ref="cdid"/>
  2149. </itemset>
  2150. </choices>
  2151. <script type="javascript" ev:event="xforms-select">
  2152. <![CDATA[
  2153. var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
  2154. var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  2155. if(statFlag < 'C') {
  2156. model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", rdo_healexamplacecd.value);
  2157. }else {
  2158. model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", healexamplacecd == "" ? rdo_healexamplacecd.value:healexamplacecd);
  2159. }
  2160. cmb_place.refresh();
  2161. ]]>
  2162. </script>
  2163. </select1>
  2164. <select1 id="cmb_place" ref="/root/main/info/rsrvacptinfo/item/healexamplacecd" class="combo_essential" disabled="true" appearance="minimal" style="left:374px; top:29px; width:80px; height:19px; ">
  2165. <choices>
  2166. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  2167. <label ref="cdnm"/>
  2168. <value ref="cdid"/>
  2169. </itemset>
  2170. </choices>
  2171. </select1>
  2172. <caption id="caption9" class="cell_1" style="left:313px; top:27px; width:59px; height:23px; vertical-align:middle; ">건진장소</caption>
  2173. <button id="btn_tag" class="btn2_letter4" visibility="hidden" style="left:620px; top:55px; width:64px; height:19px; ">
  2174. <caption>태그지급</caption>
  2175. <script type="javascript" ev:event="DOMActivate">
  2176. <![CDATA[
  2177. var suppStat = model.getValue("/root/tag/taginfo/tagstat");
  2178. var tagno = model.getValue("/root/main/info/taginfo/tagno");
  2179. var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  2180. var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
  2181. if(suppStat == "") {
  2182. suppStat = model.getValue("/root/main/info/taginfo/suppstat");
  2183. }
  2184. if("0" == suppStat) {
  2185. if(6 == messageBox("[" + tagno + "]태그 반납을", "Q004")) {
  2186. model.makeValue("/root/send/taginfo/tagflag" ,"R");
  2187. model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno") );
  2188. model.makeValue("/root/send/taginfo/healexamplacecd" ,model.getValue("/root/main/info/taginfo/healexamplacecd") );
  2189. model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd") );
  2190. if(submit("TXAHA00109")) {
  2191. btn_tag.attribute("text") = "태그지급";
  2192. ipt_tagno.value = "";
  2193. ipt_tagno.disabled = false;
  2194. }
  2195. }
  2196. }else {
  2197. if(statFlag < "E") {
  2198. messageBox("접수 전에 태그를 지급", "E001");
  2199. return;
  2200. }
  2201. if(tagno == "") {
  2202. messageBox("태그번호를","C001");
  2203. return;
  2204. }
  2205. if(messageBox("["+tagno+"]태그 지급을","Q004")) {
  2206. model.makeValue("/root/send/taginfo/tagflag" ,"P");
  2207. model.makeValue("/root/send/taginfo/rsrvdd" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"));
  2208. model.makeValue("/root/send/taginfo/rsrvno" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno"));
  2209. model.makeValue("/root/send/taginfo/pid" ,model.getValue("/root/main/info/rsrvacptinfo/item/pid"));
  2210. model.makeValue("/root/send/taginfo/orddd" ,model.getValue("/root/main/info/rsrvacptinfo/item/orddd"));
  2211. model.makeValue("/root/send/taginfo/healexamdetlflag" ,model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
  2212. model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
  2213. model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("posinstcd") );
  2214. if(submit("TXAHA00109")) {
  2215. btn_tag.attribute("text") = "태그반납";
  2216. ipt_tagno.disabled = true;
  2217. }
  2218. }
  2219. }
  2220. ipt_tagno.refresh();
  2221. ]]>
  2222. </script>
  2223. </button>
  2224. <select1 id="cmb_pkguncocd" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" visibility="hidden" appearance="minimal" style="left:623px; top:234px; width:235px; height:19px; ">
  2225. <choices>
  2226. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  2227. <label ref="nm"/>
  2228. <value ref="cd"/>
  2229. </itemset>
  2230. </choices>
  2231. <script type="javascript" ev:event="xforms-select">
  2232. <![CDATA[
  2233. var cnt = grd_addlst.rows ;
  2234. var i = 0;
  2235. var uncocd = "";
  2236. for( i = 1; i < cnt ; i++){
  2237. uncocd = grd_addlst.valueMatrix(i, 5);
  2238. if( ( uncocd == "") || (uncocd == "-" ) ){
  2239. grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
  2240. }
  2241. }
  2242. model.refresh();
  2243. ]]>
  2244. </script>
  2245. </select1>
  2246. <caption id="caption8" class="cell_1" visibility="hidden" style="left:543px; top:233px; width:79px; height:23px; vertical-align:middle; ">청구방법</caption>
  2247. </group>
  2248. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="5242880" validate="true" ref="/root/send/visaphotpath/attach/file" style="left:200px; top:175px; width:100px; height:20px; "/>
  2249. <button id="btn_addfile" class="btn2_letter4" style="left:1025px; top:125px; width:64px; height:19px; ">
  2250. <caption>사진등록</caption>
  2251. <script type="javascript" ev:event="DOMActivate">
  2252. <![CDATA[
  2253. var maxsize = upload1.attribute("filesize");
  2254. files = window.fileDialog("open", "|", true);
  2255. // alert(files + files.split("|"));
  2256. model.setValue("/root/send/attach/file", files);
  2257. //alert(files);
  2258. if (!checkFileSize(upload1)){
  2259. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  2260. }
  2261. model.refresh();
  2262. ]]>
  2263. </script>
  2264. </button>
  2265. <img id="img_visaphot" ref="/root/image/attachfile/image" style="left:330px; top:155px; width:135px; height:100px; background-stretch:stretch; border-color:#000000; border-style:solid; cursor:hand; ">
  2266. <script type="javascript" ev:event="ondblclick">
  2267. <![CDATA[
  2268. if(img_visaphot.currentStyle.width == 640)
  2269. {
  2270. img_visaphot.attribute("width") = 135;
  2271. img_visaphot.attribute("height") = 100;
  2272. }
  2273. else
  2274. {
  2275. img_visaphot.attribute("width") = 640;
  2276. img_visaphot.attribute("height") = 480;
  2277. }
  2278. ]]>
  2279. </script>
  2280. </img>
  2281. <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" maxlength="500" style="left:375px; top:585px; width:810px; height:45px; "/>
  2282. <caption id="caption23" class="cell_1" style="left:317px; top:585px; width:55px; height:47px; vertical-align:middle; ">전달사항</caption>
  2283. <button id="button9" class="btn5_letter6" style="left:1100px; top:555px; width:86px; height:19px; ">
  2284. <caption>전달사항저장</caption>
  2285. <script type="javascript" ev:event="DOMActivate">
  2286. <![CDATA[
  2287. if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") == "")
  2288. {
  2289. messageBox("예약(접수)이후에만 특이사항을 별도로 저장하실수 있습니다.", "I");
  2290. return false;
  2291. }
  2292. model.makeNode("/root/sendcmts");
  2293. model.makeNode("/root/sendcmts/healexamdetlflag");
  2294. model.makeNode("/root/sendcmts/rsrvdd");
  2295. model.makeNode("/root/sendcmts/rsrvno");
  2296. model.makeNode("/root/sendcmts/cmts");
  2297. model.setValue("/root/sendcmts/healexamdetlflag", model.getValue("/root/send/srchhealexamdetlflag"));
  2298. model.setValue("/root/sendcmts/rsrvdd", model.getValue("/root/send/srchrsrvdd"));
  2299. model.setValue("/root/sendcmts/rsrvno", model.getValue("/root/send/srchrsrvno"));
  2300. model.setValue("/root/sendcmts/cmts", model.getValue("/root/main/info/rsrvacptinfo/item/remcnts"));
  2301. submit("TXAHA04029");
  2302. ]]>
  2303. </script>
  2304. </button>
  2305. <output id="output4" ref="/root/main/info/rcptinfo/cmpyaddamt" class="output_fix" format="#,###" style="left:490px; top:690px; width:86px; height:19px; text-align:right; "/>
  2306. <line id="line52" class="line_3" style="x1:313px; y1:737px; x2:1183px; y2:737px; "/>
  2307. <caption id="cap_pkguncocd" class="cell_1" style="left:831px; top:664px; width:64px; height:23px; vertical-align:middle; ">
  2308. <![CDATA[청구방법]]>
  2309. <script type="javascript" ev:event="onclick">
  2310. <![CDATA[
  2311. fPriceCheck();
  2312. ]]>
  2313. </script>
  2314. </caption>
  2315. <line id="line42" class="line_2" style="x1:313px; y1:712px; x2:898px; y2:712px; "/>
  2316. <output id="opt_discamt" ref="/root/main/info/rcptinfo/discamt" class="output_fix" visibility="visible" format="#,###" style="left:647px; top:690px; width:181px; height:19px; text-align:right; "/>
  2317. <caption id="caption84" class="cell_1" visibility="visible" style="left:831px; top:689px; width:64px; height:48px; vertical-align:middle; ">실수납액</caption>
  2318. <output id="opt_realamt" ref="/root/main/info/rcptinfo/realamt" class="font_pid" visibility="visible" format="(-,+)#,###" style="left:897px; top:672px; width:291px; height:65px; text-align:right; vertical-align:bottom; "/>
  2319. <caption id="caption76" class="cell_1" visibility="visible" style="left:580px; top:689px; width:64px; height:23px; vertical-align:middle; ">할인금액</caption>
  2320. <line id="line46" class="line_2" style="x1:313px; y1:687px; x2:895px; y2:687px; "/>
  2321. <caption id="caption54" class="cell_1" visibility="visible" style="left:313px; top:714px; width:79px; height:23px; vertical-align:middle; ">소계</caption>
  2322. <output id="opt_preamt" ref="/root/main/info/rcptinfo/preamt" class="output_fix" visibility="visible" format="#,###" style="left:1082px; top:665px; width:101px; height:19px; font-weight:bold; text-align:right; "/>
  2323. <select1 id="combo2" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" disabled="true" appearance="minimal" style="left:897px; top:664px; width:116px; height:19px; ">
  2324. <choices>
  2325. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  2326. <label ref="nm"/>
  2327. <value ref="cd"/>
  2328. </itemset>
  2329. </choices>
  2330. <script type="javascript" ev:event="xforms-select">
  2331. <![CDATA[
  2332. var cnt = grd_addlst.rows ;
  2333. var i = 0;
  2334. var uncocd = "";
  2335. for( i = 1; i < cnt ; i++){
  2336. uncocd = grd_addlst.valueMatrix(i, 5);
  2337. if( ( uncocd == "") || (uncocd == "-" ) ){
  2338. grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
  2339. }
  2340. }
  2341. model.refresh();
  2342. ]]>
  2343. </script>
  2344. </select1>
  2345. <input id="ipt_ownbamt" ref="/root/main/info/rcptinfo/ownbamt" class="input_default" disabled="true" format="(-,+)#,###" style="left:647px; top:665px; width:181px; height:19px; text-align:right; ">
  2346. <script type="javascript" ev:event="onkeyup">
  2347. <![CDATA[
  2348. if(event.keyCode == "13") {
  2349. var tempamt = parseInt(model.getValue("/root/main/info/rcptinfo/tempamt")); // 부담금 + 미수금
  2350. var ownbamt = parseInt(ipt_ownbamt.currentText.replace(/,/g,"")); // 부담금
  2351. var uncoamt = tempamt - ownbamt;
  2352. // 변경 미수금,부담금,변경여부
  2353. model.makeValue("/root/temp/priceamt/priceamt/chngownbamt", ownbamt);
  2354. model.makeValue("/root/main/info/rcptinfo/ownbamt", ownbamt);
  2355. model.makeValue("/root/send/ownbamt", ownbamt);
  2356. model.makeValue("/root/temp/priceamt/priceamt/chnguncoamt", uncoamt);
  2357. model.makeValue("/root/temp/priceamt/priceamt/chngyn", "Y");
  2358. fSetAddAmt();
  2359. }
  2360. ]]>
  2361. </script>
  2362. <script type="javascript" ev:event="xforms-value-changed">
  2363. <![CDATA[
  2364. var tempamt = parseInt(model.getValue("/root/main/info/rcptinfo/tempamt"));
  2365. var uncoamt = parseInt(ipt_ownbamt.currentText.replace(/,/i,""));
  2366. //alert("tempamt : " + tempamt + "uncoamt" + uncoamt);
  2367. model.makeValue("/root/main/info/rcptinfo/uncoamt" , tempamt - uncoamt);
  2368. opt_uncoamt.refresh();
  2369. ]]>
  2370. </script>
  2371. </input>
  2372. <line id="line26" class="line_1" style="x1:313px; y1:658px; x2:1183px; y2:658px; "/>
  2373. <caption id="caption56" class="cell_1" visibility="visible" style="left:580px; top:714px; width:64px; height:23px; vertical-align:middle; ">미수금</caption>
  2374. <output id="opt_subtotamt" ref="/root/main/info/rcptinfo/subtotamt" class="output_fix" visibility="visible" format="#,###" style="left:395px; top:715px; width:181px; height:19px; text-align:right; "/>
  2375. <caption id="caption24" class="cell_1" style="left:313px; top:689px; width:79px; height:23px; vertical-align:middle; ">추가검사금액</caption>
  2376. <caption id="caption26" class="cell_1" style="left:580px; top:665px; width:64px; height:23px; vertical-align:middle; ">
  2377. <![CDATA[부담액]]>
  2378. <script type="javascript" ev:event="onclick">
  2379. <![CDATA[
  2380. fPriceCheck();
  2381. ]]>
  2382. </script>
  2383. </caption>
  2384. <caption id="caption59" class="cell_1" visibility="visible" style="left:1015px; top:664px; width:64px; height:23px; vertical-align:middle; ">선수금</caption>
  2385. <caption id="cap_rcpt" class="tit_2" style="left:313px; top:643px; width:79px; height:13px; ">수납내역</caption>
  2386. <output id="output1" ref="/root/main/info/rcptinfo/psnaddamt" class="output_fix" format="#,###" style="left:395px; top:690px; width:91px; height:19px; text-align:right; "/>
  2387. <line id="line5" class="line_3" style="x1:313px; y1:639px; x2:1183px; y2:639px; "/>
  2388. <caption id="caption19" class="cell_1" style="left:313px; top:664px; width:79px; height:23px; vertical-align:middle; ">패키지금액</caption>
  2389. <output id="opt_uncoamt" ref="/root/main/info/rcptinfo/uncoamt" class="output_fix" visibility="visible" format="(-)#,###" style="left:647px; top:715px; width:181px; height:19px; text-align:right; "/>
  2390. <output id="output3" ref="/root/main/info/rcptinfo/pkgamt" class="output_fix" format="#,###" style="left:395px; top:665px; width:181px; height:19px; text-align:right; "/>
  2391. <switch id="swt_acptlst" style="left:0px; top:70px; width:305px; height:640px; border-color:#c7a3cf; border-style:solid; ">
  2392. <case id="case_acpt" selected="true">
  2393. <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" allowselection="true" caption="접수일자^등록번호^비자연번^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 70, 67, 146, 85, 70, 97, 188, 68, 74, 40, 40, 30, 60, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:624px; ">
  2394. <col ref="hopedd" format="yyyy-mm-dd"/>
  2395. <col ref="pid"/>
  2396. <col ref="visano"/>
  2397. <col ref="engnm"/>
  2398. <col ref="pnm" style="left:236px; top:23px; width:100px; height:23px; "/>
  2399. <col ref="brthareacnts" type="combo">
  2400. <choices>
  2401. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2402. <label ref="cdnm"/>
  2403. <value ref="cdid"/>
  2404. </itemset>
  2405. </choices>
  2406. </col>
  2407. <col ref="pkgcd"/>
  2408. <col ref="pkgnm"/>
  2409. <col ref="rgstno1"/>
  2410. <col ref="rgstno2" style="left:773px; top:23px; width:74px; height:23px; "/>
  2411. <col ref="age" style="text-align:center; "/>
  2412. <col ref="sex" style="text-align:center; "/>
  2413. <col ref="sexage" visibility="hidden"/>
  2414. <col ref="rcptstat" type="combo">
  2415. <choices>
  2416. <itemset nodeset="/root/init/baseinfo/rsltlst/P0049">
  2417. <label ref="cdnm"/>
  2418. <value ref="cdid"/>
  2419. </itemset>
  2420. </choices>
  2421. </col>
  2422. <col ref="rsrvdd" visibility="hidden"/>
  2423. <col ref="rsrvno" visibility="hidden"/>
  2424. <col ref="statflag" visibility="hidden"/>
  2425. <col ref="acptflag" visibility="hidden"/>
  2426. <col ref="cmpynm" visibility="hidden"/>
  2427. <col ref="acptdttm" visibility="hidden"/>
  2428. <col ref="lastupdtrid" visibility="hidden"/>
  2429. <col ref="lastupdtdt" visibility="hidden"/>
  2430. <script type="javascript" ev:event="ondblclick">
  2431. <![CDATA[
  2432. ahafGetRsrvAcptDetlVisa(3);
  2433. fDcAmtCalc();
  2434. model.refresh()
  2435. ]]>
  2436. </script>
  2437. <script type="javascript" ev:event="onaftersort">
  2438. <![CDATA[
  2439. grd_acptlst.gridToInstance();
  2440. ]]>
  2441. </script>
  2442. </datagrid>
  2443. </case>
  2444. <case id="case_rsrv">
  2445. <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="예약일자^등록번호^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^상태^rsrvdd^rsrvno^rcptstat^visano^totamt^cmpynm^rsrvdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="75, 70, 64, 88, 60, 100, 65, 68, 74, 40, 40, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:291px; height:625px; ">
  2446. <col ref="hopedd" format="yyyy-mm-dd"/>
  2447. <col ref="pid"/>
  2448. <col ref="engnm"/>
  2449. <col ref="pnm"/>
  2450. <col ref="brthareacnts" type="combo">
  2451. <choices>
  2452. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2453. <label ref="cdnm"/>
  2454. <value ref="cdid"/>
  2455. </itemset>
  2456. </choices>
  2457. </col>
  2458. <col ref="pkgcd"/>
  2459. <col ref="pkgnm"/>
  2460. <col ref="rgstno1"/>
  2461. <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
  2462. <col ref="age" style="text-align:center; "/>
  2463. <col ref="sex" style="text-align:center; "/>
  2464. <col ref="sexage" visibility="hidden"/>
  2465. <col disabled="true" ref="statflag" type="combo">
  2466. <choices>
  2467. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  2468. <label ref="cdnm"/>
  2469. <value ref="cdid"/>
  2470. </itemset>
  2471. </choices>
  2472. </col>
  2473. <col ref="rsrvdd" visibility="hidden"/>
  2474. <col ref="rsrvno" visibility="hidden"/>
  2475. <col ref="rcptstat" visibility="hidden"/>
  2476. <col ref="visano" visibility="hidden"/>
  2477. <col ref="totamt" visibility="hidden"/>
  2478. <col ref="cmpynm" visibility="hidden"/>
  2479. <col ref="rsrvdttm" visibility="hidden"/>
  2480. <col ref="lastupdtrid" visibility="hidden"/>
  2481. <col ref="lastupdtdt" visibility="hidden"/>
  2482. <script type="javascript" ev:event="ondblclick">
  2483. <![CDATA[
  2484. ahafGetRsrvAcptDetlVisa(1);
  2485. fDcAmtCalc();
  2486. model.refresh();
  2487. ]]>
  2488. </script>
  2489. <script type="javascript" ev:event="oncopy">
  2490. <![CDATA[
  2491. grid_oncopy();
  2492. ]]>
  2493. </script>
  2494. <script type="javascript" ev:event="onaftersort">
  2495. <![CDATA[
  2496. grd_rsrvlst.gridToInstance();
  2497. ]]>
  2498. </script>
  2499. </datagrid>
  2500. </case>
  2501. <case id="case_cncl">
  2502. <group id="group4" style="left:0px; top:3px; width:295px; height:37px; vertical-align:top; ">
  2503. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:1px; width:288px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  2504. <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
  2505. <select1 id="rdo_cnclmode" ref="/root/init/srchmode" appearance="full" cols="4" rows="1" overflow="visible" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
  2506. <choices>
  2507. <item>
  2508. <label>전체</label>
  2509. <value>4</value>
  2510. </item>
  2511. <item>
  2512. <label>예약취소</label>
  2513. <value>5</value>
  2514. </item>
  2515. <item>
  2516. <label>접수취소</label>
  2517. <value>6</value>
  2518. </item>
  2519. </choices>
  2520. <script type="javascript" ev:event="xforms-select">
  2521. <![CDATA[
  2522. fGetList();
  2523. ]]>
  2524. </script>
  2525. </select1>
  2526. </group>
  2527. <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="취소일시^등록번호^영문이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^rsrvdd^rsrvno^statflag^rcptstat^visano^pnm^cmpynm^cncldttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="72, 70, 84, 137, 100, 65, 68, 74, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:292px; height:585px; ">
  2528. <col ref="cncldd" format="yyyy-mm-dd"/>
  2529. <col ref="pid"/>
  2530. <col ref="engnm"/>
  2531. <col ref="brthareacnts" type="combo">
  2532. <choices>
  2533. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2534. <label ref="cdnm"/>
  2535. <value ref="cdid"/>
  2536. </itemset>
  2537. </choices>
  2538. </col>
  2539. <col ref="pkgcd"/>
  2540. <col ref="pkgnm"/>
  2541. <col ref="rgstno1"/>
  2542. <col ref="rgstno2"/>
  2543. <col ref="sex" style="text-align:center; "/>
  2544. <col ref="age" style="text-align:center; "/>
  2545. <col ref="sexage" visibility="hidden"/>
  2546. <col ref="rsrvdd" visibility="hidden"/>
  2547. <col ref="rsrvno" visibility="hidden"/>
  2548. <col ref="statflag" visibility="hidden"/>
  2549. <col ref="rcptstat" visibility="hidden"/>
  2550. <col ref="visano" visibility="hidden"/>
  2551. <col ref="pnm" visibility="hidden"/>
  2552. <col ref="cmpynm" visibility="hidden"/>
  2553. <col ref="cncldttm" visibility="hidden"/>
  2554. <col ref="lastupdtrid" visibility="hidden"/>
  2555. <col ref="lastupdtdt" visibility="hidden"/>
  2556. <script type="javascript" ev:event="ondblclick">
  2557. <![CDATA[
  2558. ahafGetRsrvAcptDetlVisa(4);
  2559. fDcAmtCalc();
  2560. model.refresh();
  2561. ]]>
  2562. </script>
  2563. <script type="javascript" ev:event="onaftersort">
  2564. <![CDATA[
  2565. grd_cncllst.gridToInstance();
  2566. ]]>
  2567. </script>
  2568. </datagrid>
  2569. </case>
  2570. <case id="case_reex">
  2571. <datagrid id="grd_reexlst" nodeset="/root/main/list/reexlst" visibility="visible" allowselection="true" caption="접수일자^등록번호^비자연번^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 70, 67, 146, 85, 70, 97, 188, 68, 74, 30, 30, 30, 68, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:624px; ">
  2572. <col ref="hopedd" format="yyyy-mm-dd"/>
  2573. <col ref="pid"/>
  2574. <col ref="visano"/>
  2575. <col ref="engnm"/>
  2576. <col ref="pnm"/>
  2577. <col ref="brthareacnts" type="combo">
  2578. <choices>
  2579. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2580. <label ref="cdnm"/>
  2581. <value ref="cdid"/>
  2582. </itemset>
  2583. </choices>
  2584. </col>
  2585. <col ref="pkgcd"/>
  2586. <col ref="pkgnm"/>
  2587. <col ref="rgstno1"/>
  2588. <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
  2589. <col ref="sex" style="text-align:center; "/>
  2590. <col ref="age" style="text-align:center; "/>
  2591. <col ref="sexage" visibility="hidden"/>
  2592. <col disabled="true" ref="statflag" type="combo">
  2593. <choices>
  2594. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  2595. <label ref="cdnm"/>
  2596. <value ref="cdid"/>
  2597. </itemset>
  2598. </choices>
  2599. </col>
  2600. <col ref="rsrvdd" visibility="hidden"/>
  2601. <col ref="rsrvno" visibility="hidden"/>
  2602. <col ref="rcptstat" visibility="hidden"/>
  2603. <col ref="totamt" visibility="hidden"/>
  2604. <col ref="cmpynm" visibility="hidden"/>
  2605. <col ref="rsrvdttm" visibility="hidden"/>
  2606. <col ref="lastupdtrid" visibility="hidden"/>
  2607. <col ref="lastupdtdt" visibility="hidden"/>
  2608. <script type="javascript" ev:event="ondblclick">
  2609. <![CDATA[
  2610. ahafGetRsrvAcptDetlVisa(8);
  2611. fDcAmtCalc();
  2612. model.refresh();
  2613. ]]>
  2614. </script>
  2615. <script type="javascript" ev:event="oncopy">
  2616. <![CDATA[
  2617. grid_oncopy();
  2618. ]]>
  2619. </script>
  2620. <script type="javascript" ev:event="onaftersort">
  2621. <![CDATA[
  2622. grd_rsrvlst.gridToInstance();
  2623. ]]>
  2624. </script>
  2625. </datagrid>
  2626. </case>
  2627. </switch>
  2628. <button id="btn_reex" class="btn_sw" group="tab" style="left:120px; top:49px; width:60px; height:22px; ">
  2629. <caption>재검</caption>
  2630. <script type="javascript" ev:event="DOMActivate">
  2631. <![CDATA[
  2632. model.toggle("case_reex");
  2633. //예약시 컨트롤 사용가능하게
  2634. ipt_rsrvtm.disabled=false;
  2635. btn_totrsrvdt.disabled=false;
  2636. fGetList();
  2637. //btn_acpt.disabled = false;
  2638. model.refresh();
  2639. ]]>
  2640. </script>
  2641. </button>
  2642. </group>
  2643. </xhtml:body>
  2644. </xhtml:html>